]> granicus.if.org Git - postgresql/commitdiff
Add back #include <time.h> in a couple of files that seem to need it
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Feb 2008 04:21:05 +0000 (04:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Feb 2008 04:21:05 +0000 (04:21 +0000)
on Linux.

src/backend/bootstrap/bootstrap.c
src/backend/tcop/postgres.c

index 5450313be9c99c847caece13112cdcd6eec88d2c..50deab0c1bf70840fb9dcdf6f9340378d1811085 100644 (file)
@@ -8,12 +8,13 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.238 2008/01/01 19:45:48 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.239 2008/02/17 04:21:05 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"
 
+#include <time.h>
 #include <unistd.h>
 #include <signal.h>
 #ifdef HAVE_GETOPT_H
index 325411df09ca2e3b96c1da6e06d901570d3f67e8..c95695b7f9a0cea1eb5d4813b9859e5601188344 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.542 2008/01/26 19:55:08 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.543 2008/02/17 04:21:05 tgl Exp $
  *
  * NOTES
  *       this is the "main" module of the postgres backend and
@@ -19,6 +19,7 @@
 
 #include "postgres.h"
 
+#include <time.h>
 #include <unistd.h>
 #include <signal.h>
 #include <fcntl.h>