summaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/netbsd.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-09-02 02:47:07 +0000
committerBruce Momjian <bruce@momjian.us>2002-09-02 02:47:07 +0000
commit97ac103289a3c751fc99967ac37c2555cbe00473 (patch)
treed2caa3cea0ef12cd52aa39d4a8ec6f620b246313 /src/backend/port/dynloader/netbsd.c
parent248c67d7ed505d98d3a94cd3954835255317ff16 (diff)
downloadpostgresql-97ac103289a3c751fc99967ac37c2555cbe00473.tar.gz
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/backend/port/dynloader/netbsd.c')
-rw-r--r--src/backend/port/dynloader/netbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/port/dynloader/netbsd.c b/src/backend/port/dynloader/netbsd.c
index 26a4ec72c9..2202b6847b 100644
--- a/src/backend/port/dynloader/netbsd.c
+++ b/src/backend/port/dynloader/netbsd.c
@@ -36,7 +36,8 @@
static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
-#include <sys/types.h>
+#include "postgres.h"
+
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
@@ -44,7 +45,6 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <stdio.h>
#include <stdlib.h>
-#include "postgres.h"
#include "dynloader.h"
static char error_message[BUFSIZ];