summaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/ipc.c
diff options
context:
space:
mode:
authorTom Lane2001-10-01 18:16:35 +0000
committerTom Lane2001-10-01 18:16:35 +0000
commit0648d78ac4ae3d3945348392795a401ddd4b2839 (patch)
tree6514ba3505f10d2ed9db68d882f650c72b7a194c /src/backend/storage/ipc/ipc.c
parent6d18c038b70b7c6d745b466443eff96d53394c21 (diff)
Make inclusion logic for sys/sem.h and sys/ipc.h consistent across all
the files that need them. Per trouble report from Teodor.
Diffstat (limited to 'src/backend/storage/ipc/ipc.c')
-rw-r--r--src/backend/storage/ipc/ipc.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c
index 9d2b373a589..0552ff288ea 100644
--- a/src/backend/storage/ipc/ipc.c
+++ b/src/backend/storage/ipc/ipc.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.69 2001/09/29 04:02:23 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.70 2001/10/01 18:16:26 tgl Exp $
*
* NOTES
*
@@ -27,11 +27,10 @@
*/
#include "postgres.h"
-#include <sys/types.h>
-#include <sys/file.h>
#include <errno.h>
#include <signal.h>
#include <unistd.h>
+#include <sys/file.h>
#include "storage/ipc.h"
/* In Ultrix, sem.h and shm.h must be included AFTER ipc.h */
@@ -45,10 +44,6 @@
#include <kernel/OS.h>
#endif
-#if defined(solaris_sparc)
-#include <sys/ipc.h>
-#endif
-
#if defined(__darwin__)
#include "port/darwin/sem.h"
#endif