Skip to content

Commit 2cf8064

Browse files
committed
Tweak Darwin patch to get right include order.
1 parent 6ef0219 commit 2cf8064

File tree

1 file changed

+5
-5
lines changed
  • src/backend/storage/lmgr

1 file changed

+5
-5
lines changed

src/backend/storage/lmgr/proc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.85 2000/12/11 00:49:52 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/11 16:35:59 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -47,7 +47,7 @@
4747
* This is so that we can support more backends. (system-wide semaphore
4848
* sets run out pretty fast.) -ay 4/95
4949
*
50-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.85 2000/12/11 00:49:52 tgl Exp $
50+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/11 16:35:59 tgl Exp $
5151
*/
5252
#include "postgres.h"
5353

@@ -61,13 +61,12 @@
6161
#include <sys/sem.h>
6262
#endif
6363

64+
#include "miscadmin.h"
65+
6466
#if defined(__darwin__)
6567
#include "port/darwin/sem.h"
6668
#endif
6769

68-
#include "miscadmin.h"
69-
70-
7170
/* In Ultrix and QNX, sem.h must be included after ipc.h */
7271
#ifdef HAVE_SYS_SEM_H
7372
#include <sys/sem.h>
@@ -76,6 +75,7 @@
7675
#include "storage/proc.h"
7776

7877

78+
7979
void HandleDeadLock(SIGNAL_ARGS);
8080
static void ProcFreeAllSemaphores(void);
8181
static bool GetOffWaitqueue(PROC *);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy