Skip site navigation (1) Skip section navigation (2)

pgcrypto: include sys/types.h in crypt-des.c

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: pgcrypto: include sys/types.h in crypt-des.c
Date: 2001-11-20 20:56:10
Message-ID: 20011120225610.A2966@l-t.ee (view raw or flat)
Thread:
Lists: pgsql-patches
Include sys/types.h in crypt-des.c.  FreeBSD netinet/in.h
needs it.

Seems it is getting compileable...

-- 
marko


Index: contrib/pgcrypto/crypt-des.c
===================================================================
RCS file: /opt/cvs/pgsql/pgsql/contrib/pgcrypto/crypt-des.c,v
retrieving revision 1.6
diff -u -r1.6 crypt-des.c
--- contrib/pgcrypto/crypt-des.c	5 Nov 2001 17:46:23 -0000	1.6
+++ contrib/pgcrypto/crypt-des.c	20 Nov 2001 20:39:56 -0000
@@ -63,6 +63,7 @@
 #include "px-crypt.h"
 
 /* for ntohl/htonl */
+#include <sys/types.h>
 #include <netinet/in.h>
 
 #define _PASSWORD_EFMT1 '_'

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2001-11-20 21:09:03
Subject: Cross-references (was [PATCHES] PQescapeBytea documentation patch)
Previous:From: Bruce MomjianDate: 2001-11-20 20:29:05
Subject: Re: PQescapeBytea documentation patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group