Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2cf8064

Browse files
committed
Tweak Darwin patch to get right include order.
1 parent6ef0219 commit2cf8064

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/1100:49:52 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/1116: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/1100:49:52 tgl Exp $
50+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/1116: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
#ifdefHAVE_SYS_SEM_H
7372
#include<sys/sem.h>
@@ -76,6 +75,7 @@
7675
#include"storage/proc.h"
7776

7877

78+
7979
voidHandleDeadLock(SIGNAL_ARGS);
8080
staticvoidProcFreeAllSemaphores(void);
8181
staticboolGetOffWaitqueue(PROC*);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp