mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Tweak Darwin patch to get right include order.
This commit is contained in:
parent
6ef0219c34
commit
2cf8064af8
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* This is so that we can support more backends. (system-wide semaphore
|
||||||
* sets run out pretty fast.) -ay 4/95
|
* 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"
|
#include "postgres.h"
|
||||||
|
|
||||||
@ -61,13 +61,12 @@
|
|||||||
#include <sys/sem.h>
|
#include <sys/sem.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "miscadmin.h"
|
||||||
|
|
||||||
#if defined(__darwin__)
|
#if defined(__darwin__)
|
||||||
#include "port/darwin/sem.h"
|
#include "port/darwin/sem.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "miscadmin.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* In Ultrix and QNX, sem.h must be included after ipc.h */
|
/* In Ultrix and QNX, sem.h must be included after ipc.h */
|
||||||
#ifdef HAVE_SYS_SEM_H
|
#ifdef HAVE_SYS_SEM_H
|
||||||
#include <sys/sem.h>
|
#include <sys/sem.h>
|
||||||
@ -76,6 +75,7 @@
|
|||||||
#include "storage/proc.h"
|
#include "storage/proc.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void HandleDeadLock(SIGNAL_ARGS);
|
void HandleDeadLock(SIGNAL_ARGS);
|
||||||
static void ProcFreeAllSemaphores(void);
|
static void ProcFreeAllSemaphores(void);
|
||||||
static bool GetOffWaitqueue(PROC *);
|
static bool GetOffWaitqueue(PROC *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user