]> granicus.if.org Git - postgresql/commitdiff
Looks like we need <unistd.h> for select() on Darwin.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Feb 2004 04:23:03 +0000 (04:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Feb 2004 04:23:03 +0000 (04:23 +0000)
src/port/pgsleep.c

index 52ea860e75251c49648147e14cb3bb687ff3f303..41f989dbbea3bfca9f579b10a1fcf73c7ae80926 100644 (file)
@@ -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>