summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
authorBruce Momjian2002-09-02 02:47:07 +0000
committerBruce Momjian2002-09-02 02:47:07 +0000
commit97ac103289a3c751fc99967ac37c2555cbe00473 (patch)
treed2caa3cea0ef12cd52aa39d4a8ec6f620b246313 /src/port
parent248c67d7ed505d98d3a94cd3954835255317ff16 (diff)
Remove sys/types.h in files that include postgres.h, and hence c.h,
because c.h has sys/types.h.
Diffstat (limited to 'src/port')
-rw-r--r--src/port/gethostname.c3
-rw-r--r--src/port/inet_aton.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/port/gethostname.c b/src/port/gethostname.c
index 568df7c497f..305f5571068 100644
--- a/src/port/gethostname.c
+++ b/src/port/gethostname.c
@@ -1,8 +1,7 @@
-/* $Id: gethostname.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
+/* $Id: gethostname.c,v 1.2 2002/09/02 02:47:07 momjian Exp $ */
#include "c.h"
-#include <sys/types.h>
#include <string.h>
#include <sys/utsname.h>
diff --git a/src/port/inet_aton.c b/src/port/inet_aton.c
index c7f409ae435..c55ac4fa518 100644
--- a/src/port/inet_aton.c
+++ b/src/port/inet_aton.c
@@ -1,4 +1,4 @@
-/* $Id: inet_aton.c,v 1.1 2002/07/18 04:13:59 momjian Exp $
+/* $Id: inet_aton.c,v 1.2 2002/09/02 02:47:07 momjian Exp $
*
* This inet_aton() function was taken from the GNU C library and
* incorporated into Postgres for those systems which do not have this
@@ -44,7 +44,6 @@
#include "c.h"
-#include <sys/types.h>
#include <netinet/in.h>
#include <ctype.h>