Skip to content

Commit 16cc9df

Browse files
committed
bufmgr.c failed to compile on Darwin, because it didn't include
<sys/time.h> where struct timeval is defined.
1 parent fb8ac3f commit 16cc9df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/storage/buffer/bufmgr.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.149 2003/12/14 00:34:47 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.150 2003/12/20 22:18:02 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -41,9 +41,10 @@
4141
*/
4242
#include "postgres.h"
4343

44-
#include <sys/file.h>
4544
#include <math.h>
4645
#include <signal.h>
46+
#include <sys/file.h>
47+
#include <sys/time.h>
4748
#include <unistd.h>
4849

4950
#include "lib/stringinfo.h"

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