Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7bf3bae

Browse files
author
Bryan Henderson
committed
Add #include <sys/types.h> so it works with Ultrix's in.h
1 parent 5dd3c56 commit 7bf3bae

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/backend/commands/async.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.6 1996/11/06 08:21:26 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.7 1996/11/16 08:08:44 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -62,6 +62,7 @@
6262
#include <signal.h>
6363
#include <string.h>
6464
#include <errno.h>
65+
#include <sys/types.h> /* Needed by in.h on Ultrix */
6566
#include <netinet/in.h>
6667

6768
#include <postgres.h>

src/backend/libpq/auth.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.7 1996/11/06 08:48:23 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.8 1996/11/16 08:09:15 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -59,6 +59,7 @@
5959
#include <pwd.h>
6060
#include <ctype.h> /* isspace() declaration */
6161

62+
#include <sys/types.h> /* needed by in.h on Ultrix */
6263
#include <netinet/in.h>
6364
#include <arpa/inet.h>
6465

src/backend/libpq/hba.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.11 1996/11/10 03:00:26 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.12 1996/11/16 08:09:16 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -17,12 +17,10 @@
1717
#include <pwd.h>
1818
#include <sys/stat.h>
1919
#include <sys/socket.h>
20+
#include <sys/types.h> /* needed by in.h on Ultrix */
2021
#include <netinet/in.h>
2122
#include <arpa/inet.h>
2223
#include <unistd.h>
23-
#if defined(sparc_solaris)
24-
#include <inet_aton.h> /* after I copied it into port/sparc_solaris */
25-
#endif
2624

2725
#include <postgres.h>
2826
#include <miscadmin.h>

0 commit comments

Comments
 (0)