diff options
author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1997-01-08 08:33:07 +0000 |
---|---|---|
committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1997-01-08 08:33:07 +0000 |
commit | 5e98c40129beed4b504b48e83dae2962b6fcbacb (patch) | |
tree | 106b356fcbdd59521efe27f3ae13283a6fd76b3c /src/backend/storage/ipc/ipc.c | |
parent | e5ff0b930a8afebecc143cf350db2da2b10d9fca (diff) |
Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.
Diffstat (limited to 'src/backend/storage/ipc/ipc.c')
-rw-r--r-- | src/backend/storage/ipc/ipc.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c index 9f74d848c47..b02beba9ec2 100644 --- a/src/backend/storage/ipc/ipc.c +++ b/src/backend/storage/ipc/ipc.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.9 1996/11/10 03:02:21 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.10 1997/01/08 08:32:01 bryanh Exp $ * * NOTES * @@ -30,16 +30,12 @@ #include <string.h> #include <errno.h> -/* XXX - the following dependency should be moved into the defaults.mk file */ -#ifndef _IPC_ -#define _IPC_ -#include <sys/ipc.h> -#include <sys/sem.h> -#include <sys/shm.h> -#endif #include "postgres.h" #include "storage/ipc.h" +/* In Ultrix, sem.h and shm.h must be included AFTER ipc.h */ +#include <sys/sem.h> +#include <sys/shm.h> #include "utils/memutils.h" #if defined(sparc_solaris) |