]> granicus.if.org Git - postgresql/commitdiff
Put back #include <sys/time.h> in files that seem to need it on Linux.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 May 2004 16:08:47 +0000 (16:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 May 2004 16:08:47 +0000 (16:08 +0000)
src/backend/access/transam/xlog.c
src/backend/commands/vacuum.c
src/backend/utils/adt/nabstime.c

index 2d92c0c0c02c85c71e451a34458ff016c267fac9..1e593a9c8231560b198e58b6170f42d1aa8ec764 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.141 2004/05/21 05:07:56 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.142 2004/05/21 16:08:46 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,6 +18,7 @@
 #include <signal.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <sys/time.h>
 
 #include "access/clog.h"
 #include "access/transam.h"
index 342c87db574eb434c094c63a7431b3aeba3087e5..8e4f2a328e68f01955bcab7b01f0204e5b7e197b 100644 (file)
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/commands/vacuum.c,v 1.275 2004/05/08 19:09:24 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/commands/vacuum.c,v 1.276 2004/05/21 16:08:46 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"
 
+#include <sys/time.h>
 #include <unistd.h>
 
 #include "access/clog.h"
index fb17bc13c9aeb8410d99acbc8998da116381801f..0443072e8e05801abfe055ba091703e2d9bc8080 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/utils/adt/nabstime.c,v 1.121 2004/05/21 05:08:02 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/utils/adt/nabstime.c,v 1.122 2004/05/21 16:08:47 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -19,6 +19,7 @@
 #include <ctype.h>
 #include <float.h>
 #include <limits.h>
+#include <sys/time.h>
 
 #include "access/xact.h"
 #include "libpq/pqformat.h"