diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-01-14 01:53:11 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-01-14 01:53:11 +0000 |
commit | e3c4ac15d36f5f7c2ed2a7c8d4781cb32391d05e (patch) | |
tree | 1f5d9ec21cbb9ef997b50627621ace0dc4d25b96 /src | |
parent | abeaabef2ec1259ed9ec50dd18d2ef25bf1b46a7 (diff) |
Another compilation error has surfaced on Ultrix. In spin.c, sem.h must be
included after storage/ipc.h like other similar cases that were changed
recently.
This one has popped up during the last few days.
My sources are sup'ed today, 13. jan 1996.
regards
Erik Bertelsen.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/ipc/spin.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/storage/ipc/spin.c b/src/backend/storage/ipc/spin.c index 6331f899e64..4246b36b09d 100644 --- a/src/backend/storage/ipc/spin.c +++ b/src/backend/storage/ipc/spin.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.3 1997/01/10 20:18:35 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.4 1997/01/14 01:53:11 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -26,14 +26,15 @@ */ #include <errno.h> #include "postgres.h" -#ifndef HAS_TEST_AND_SET -#include <sys/sem.h> -#endif #include "storage/ipc.h" #include "storage/shmem.h" #include "storage/spin.h" #include "storage/proc.h" +#ifndef HAS_TEST_AND_SET +#include <sys/sem.h> +#endif + /* globals used in this file */ IpcSemaphoreId SpinLockId; |