OSDN Git Service

bufmgr.c failed to compile on Darwin, because it didn't include
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Dec 2003 22:18:02 +0000 (22:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Dec 2003 22:18:02 +0000 (22:18 +0000)
<sys/time.h> where struct timeval is defined.

src/backend/storage/buffer/bufmgr.c

index d68ee96..1ac603e 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.149 2003/12/14 00:34:47 neilc Exp $
+ *       $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.150 2003/12/20 22:18:02 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
  */
 #include "postgres.h"
 
-#include <sys/file.h>
 #include <math.h>
 #include <signal.h>
+#include <sys/file.h>
+#include <sys/time.h>
 #include <unistd.h>
 
 #include "lib/stringinfo.h"