postgres.git / summary / log / commit / refs
commit d1587f1f5b8682dafc8bfff42df8b3da87d32d77
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue Feb 10 04:23:03 2004 +0000
First released in: 8.0.0
Looks like we need <unistd.h> for select() on Darwin.
src/port/pgsleep.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/port/pgsleep.c b/src/port/pgsleep.c
index 52ea860e752..41f989dbbea 100644
--- a/src/port/pgsleep.c
+++ b/src/port/pgsleep.c
@@ -6,12 +6,13 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/port/pgsleep.c,v 1.1 2004/02/10 03:42:45 tgl Exp $
+ * $PostgreSQL: pgsql/src/port/pgsleep.c,v 1.2 2004/02/10 04:23:03 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
+#include <unistd.h>
#include <sys/time.h>
[parent: 58f337a3435c]