Skip to content

Commit e3c4ac1

Browse files
committed
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.
1 parent abeaabe commit e3c4ac1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/backend/storage/ipc/spin.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.3 1997/01/10 20:18:35 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.4 1997/01/14 01:53:11 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,14 +26,15 @@
2626
*/
2727
#include <errno.h>
2828
#include "postgres.h"
29-
#ifndef HAS_TEST_AND_SET
30-
#include <sys/sem.h>
31-
#endif
3229
#include "storage/ipc.h"
3330
#include "storage/shmem.h"
3431
#include "storage/spin.h"
3532
#include "storage/proc.h"
3633

34+
#ifndef HAS_TEST_AND_SET
35+
#include <sys/sem.h>
36+
#endif
37+
3738
/* globals used in this file */
3839
IpcSemaphoreId SpinLockId;
3940

0 commit comments

Comments
 (0)