From e3c4ac15d36f5f7c2ed2a7c8d4781cb32391d05e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 14 Jan 1997 01:53:11 +0000 Subject: [PATCH] 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. --- src/backend/storage/ipc/spin.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/backend/storage/ipc/spin.c b/src/backend/storage/ipc/spin.c index 6331f899e6..4246b36b09 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 #include "postgres.h" -#ifndef HAS_TEST_AND_SET -#include -#endif #include "storage/ipc.h" #include "storage/shmem.h" #include "storage/spin.h" #include "storage/proc.h" +#ifndef HAS_TEST_AND_SET +#include +#endif + /* globals used in this file */ IpcSemaphoreId SpinLockId; -- 2.11.0