summaryrefslogtreecommitdiff
path: root/src/backend/port/nextstep/port.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-05 00:43:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-05 00:43:07 +0000
commit52c9d259335c9670f6487c5f40fc53b57a4c7b17 (patch)
tree721b585843dca83ac9517ca933fa891c4532a530 /src/backend/port/nextstep/port.c
parent3f63787cbfe0f1e837c92cd8ac35fd7ab811c18b (diff)
Be careful to include postgres.h *before* any system headers, to ensure
that the right flavors of largefile-related definitions are seen. Most of these changes are probably unnecessary, but better safe than sorry.
Diffstat (limited to 'src/backend/port/nextstep/port.c')
-rw-r--r--src/backend/port/nextstep/port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/port/nextstep/port.c b/src/backend/port/nextstep/port.c
index 6ef1b126f4b..0271a3287af 100644
--- a/src/backend/port/nextstep/port.c
+++ b/src/backend/port/nextstep/port.c
@@ -1,11 +1,11 @@
+#include "postgres.h"
+
#ifndef _POSIX_SOURCE
#include "libc.h"
#else
#include <unistd.h>
-#include <stdlib.h>
#endif
-#include <string.h>
#include <sys/signal.h>