Add back #include <time.h> in a couple of files that seem to need it

on Linux.
This commit is contained in:
Tom Lane 2008-02-17 04:21:05 +00:00
parent cd00406774
commit 8b63aa1ffc
2 changed files with 4 additions and 2 deletions

View 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

View 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>