Add #include <sys/types.h> so it works with Ultrix's in.h

This commit is contained in:
Bryan Henderson 1996-11-16 08:09:16 +00:00
parent 5dd3c5620c
commit 7bf3bae1a4
3 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.6 1996/11/06 08:21:26 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.7 1996/11/16 08:08:44 bryanh Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -62,6 +62,7 @@
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h> /* Needed by in.h on Ultrix */
#include <netinet/in.h> #include <netinet/in.h>
#include <postgres.h> #include <postgres.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.7 1996/11/06 08:48:23 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.8 1996/11/16 08:09:15 bryanh Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -59,6 +59,7 @@
#include <pwd.h> #include <pwd.h>
#include <ctype.h> /* isspace() declaration */ #include <ctype.h> /* isspace() declaration */
#include <sys/types.h> /* needed by in.h on Ultrix */
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.11 1996/11/10 03:00:26 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.12 1996/11/16 08:09:16 bryanh Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -17,12 +17,10 @@
#include <pwd.h> #include <pwd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/types.h> /* needed by in.h on Ultrix */
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <unistd.h> #include <unistd.h>
#if defined(sparc_solaris)
#include <inet_aton.h> /* after I copied it into port/sparc_solaris */
#endif
#include <postgres.h> #include <postgres.h>
#include <miscadmin.h> #include <miscadmin.h>