postgres.git / summary / log / commit / refs

commit    8b63aa1ffcae5aae9dd5a6d00a7b509308bef6f4
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Sun Feb 17 04:21:05 2008 +0000
First released in: 8.4.0

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


src/backend/bootstrap/bootstrap.c | 3 ++- src/backend/tcop/postgres.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index 5450313be9c..50deab0c1bf 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -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 diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 325411df09c..c95695b7f9a 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -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> [parent: cd004067742e]