]> granicus.if.org Git - postgresql/commitdiff
Fix build break on BSD, OSX, and other systems: add missing <sys/time.h>
authorNeil Conway <neilc@samurai.com>
Thu, 30 Jun 2005 03:48:58 +0000 (03:48 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 30 Jun 2005 03:48:58 +0000 (03:48 +0000)
include.

src/backend/utils/adt/timestamp.c

index f9f4ec24b1a935baee90e1a6a277e270fcffd54b..632c97ef2fd03390183aab78bc9238a22eea586d 100644 (file)
@@ -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"