summaryrefslogtreecommitdiff
path: root/src/backend/storage/lmgr/proc.c
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1997-01-08 08:33:07 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1997-01-08 08:33:07 +0000
commit5e98c40129beed4b504b48e83dae2962b6fcbacb (patch)
tree106b356fcbdd59521efe27f3ae13283a6fd76b3c /src/backend/storage/lmgr/proc.c
parente5ff0b930a8afebecc143cf350db2da2b10d9fca (diff)
downloadpostgresql-5e98c40129beed4b504b48e83dae2962b6fcbacb.tar.gz
Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.
Diffstat (limited to 'src/backend/storage/lmgr/proc.c')
-rw-r--r--src/backend/storage/lmgr/proc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index 3888fdcd9e..37466ba39e 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.12 1996/12/26 22:07:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.13 1997/01/08 08:32:17 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@@ -46,7 +46,7 @@
* This is so that we can support more backends. (system-wide semaphore
* sets run out pretty fast.) -ay 4/95
*
- * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.12 1996/12/26 22:07:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.13 1997/01/08 08:32:17 bryanh Exp $
*/
#include <sys/time.h>
#ifndef WIN32
@@ -55,8 +55,6 @@
#include <string.h>
#include <signal.h>
#include <sys/types.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
#if defined(sparc_solaris)
#include <sys/ipc.h>
@@ -70,6 +68,9 @@
#include "access/xact.h"
#include "utils/hsearch.h"
+#include "storage/ipc.h"
+/* In Ultrix, sem.h must be included after ipc.h */
+#include <sys/sem.h>
#include "storage/buf.h"
#include "storage/lock.h"
#include "storage/lmgr.h"