aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-misc.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-19 06:25:40 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-19 06:25:40 +0000
commite259780b1393184cc9dd83b2ee5d4c1eb10a2eaa (patch)
tree497ed81a0737e6aa1020ea8d2e09f57139cbfd0e /src/interfaces/libpq/fe-misc.c
parentbf98a4656b1cdb221218f00ee45674a55572034a (diff)
downloadpostgresql-e259780b1393184cc9dd83b2ee5d4c1eb10a2eaa.tar.gz
postgresql-e259780b1393184cc9dd83b2ee5d4c1eb10a2eaa.zip
Enable WIN32 compilation of libpq.
Diffstat (limited to 'src/interfaces/libpq/fe-misc.c')
-rw-r--r--src/interfaces/libpq/fe-misc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c
index 519bf1fbcf8..63558ec33c7 100644
--- a/src/interfaces/libpq/fe-misc.c
+++ b/src/interfaces/libpq/fe-misc.c
@@ -24,12 +24,11 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.27 1999/07/19 02:27:15 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.28 1999/07/19 06:25:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#include <unistd.h>
#include <sys/time.h>
#include <errno.h>
#include <signal.h>
@@ -42,6 +41,8 @@
#ifdef WIN32
#include "win32.h"
+#else
+#include <unistd.h>
#endif
#ifdef HAVE_SYS_SELECT_H