aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-06-30 03:48:58 +0000
committerNeil Conway <neilc@samurai.com>2005-06-30 03:48:58 +0000
commitdd4eea257b7284945fcd6b2018622e1ab612f300 (patch)
tree1f762f6f1752e5be2acf9b53cf96423356904758 /src
parent51c58812d9e7742cddc0a22a1ec1959267fa09ed (diff)
downloadpostgresql-dd4eea257b7284945fcd6b2018622e1ab612f300.tar.gz
postgresql-dd4eea257b7284945fcd6b2018622e1ab612f300.zip
Fix build break on BSD, OSX, and other systems: add missing <sys/time.h>
include.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/timestamp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c
index f9f4ec24b1a..632c97ef2fd 100644
--- a/src/backend/utils/adt/timestamp.c
+++ b/src/backend/utils/adt/timestamp.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.127 2005/06/29 22:51:56 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.128 2005/06/30 03:48:58 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,6 +19,7 @@
#include <math.h>
#include <float.h>
#include <limits.h>
+#include <sys/time.h>
#include "access/hash.h"
#include "access/xact.h"