From d1587f1f5b8682dafc8bfff42df8b3da87d32d77 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 10 Feb 2004 04:23:03 +0000
Subject: [PATCH] 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>
 
 
-- 
GitLab