Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dd4eea2

Browse files
author
Neil Conway
committed
Fix build break on BSD, OSX, and other systems: add missing <sys/time.h>
include.
1 parent 51c5881 commit dd4eea2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/utils/adt/timestamp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.127 2005/06/29 22:51:56 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.128 2005/06/30 03:48:58 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -19,6 +19,7 @@
1919
#include <math.h>
2020
#include <float.h>
2121
#include <limits.h>
22+
#include <sys/time.h>
2223

2324
#include "access/hash.h"
2425
#include "access/xact.h"

0 commit comments

Comments
 (0)