summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2000-12-11 16:35:59 +0000
committerTom Lane2000-12-11 16:35:59 +0000
commit2cf8064af8c1b28098640cff83d4f8c0a2118c79 (patch)
treed81680d15bf55f861483e1412ec265e9dac377b4
parent6ef0219c3447e8c194b4474e3eea8a7aac36ebb4 (diff)
Tweak Darwin patch to get right include order.
-rw-r--r--src/backend/storage/lmgr/proc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index 550a43bb54a..29502c30161 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.85 2000/12/11 00:49:52 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/11 16:35:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -47,7 +47,7 @@
* This is so that we can support more backends. (system-wide semaphore
* sets run out pretty fast.) -ay 4/95
*
- * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.85 2000/12/11 00:49:52 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/11 16:35:59 tgl Exp $
*/
#include "postgres.h"
@@ -61,13 +61,12 @@
#include <sys/sem.h>
#endif
+#include "miscadmin.h"
+
#if defined(__darwin__)
#include "port/darwin/sem.h"
#endif
-#include "miscadmin.h"
-
-
/* In Ultrix and QNX, sem.h must be included after ipc.h */
#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
@@ -76,6 +75,7 @@
#include "storage/proc.h"
+
void HandleDeadLock(SIGNAL_ARGS);
static void ProcFreeAllSemaphores(void);
static bool GetOffWaitqueue(PROC *);