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

Поиск
Список
Период
Сортировка
Искать

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

От:
Marko Kreen <marko@l-t.ee>
Дата:
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 
 #include 
 
 #define _PASSWORD_EFMT1 '_'

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

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Patch applied.  Thanks.

---------------------------------------------------------------------------


> 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 
>  #include 
>  
>  #define _PASSWORD_EFMT1 '_'
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
FAQ