Commit e3c4ac15 authored by Bruce Momjian's avatar Bruce Momjian

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.
parent abeaabef
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -26,14 +26,15 @@
*/ */
#include <errno.h> #include <errno.h>
#include "postgres.h" #include "postgres.h"
#ifndef HAS_TEST_AND_SET
#include <sys/sem.h>
#endif
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/shmem.h" #include "storage/shmem.h"
#include "storage/spin.h" #include "storage/spin.h"
#include "storage/proc.h" #include "storage/proc.h"
#ifndef HAS_TEST_AND_SET
#include <sys/sem.h>
#endif
/* globals used in this file */ /* globals used in this file */
IpcSemaphoreId SpinLockId; IpcSemaphoreId SpinLockId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment