diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-19 22:34:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-19 22:34:56 +0000 |
commit | fc654583ab6c37f69fea2af4882074fc7e76ad90 (patch) | |
tree | f6f644a1b493efd80110c17ea14fd8dc74a7d969 | |
parent | 3f749924f82efd5b2f4b424f6c69a89a2959e4b3 (diff) | |
download | postgresql-fc654583ab6c37f69fea2af4882074fc7e76ad90.tar.gz postgresql-fc654583ab6c37f69fea2af4882074fc7e76ad90.zip |
Need #include <time.h> on some platforms.
-rw-r--r-- | src/backend/access/transam/twophase.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index 6b78467ae15..7c8102d87c9 100644 --- a/src/backend/access/transam/twophase.c +++ b/src/backend/access/transam/twophase.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.5 2005/06/19 21:34:01 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.6 2005/06/19 22:34:56 tgl Exp $ * * NOTES * Each global transaction is associated with a global transaction @@ -36,9 +36,10 @@ */ #include "postgres.h" -#include <sys/types.h> -#include <sys/stat.h> #include <fcntl.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <time.h> #include <unistd.h> #include "access/heapam.h" |