summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-19 02:27:16 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-19 02:27:16 +0000
commite44c93180172b892993fcb77370c5546606b34ab (patch)
treec6096c88d9320a3b7be2d7a645577966253046a6 /src/interfaces/libpq/fe-connect.c
parent677028177e231ca8dce4c237a026e3d3b58cb314 (diff)
downloadpostgresql-e44c93180172b892993fcb77370c5546606b34ab.tar.gz
Re-add getopt.h check, remove NT-specific tests for it.
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r--src/interfaces/libpq/fe-connect.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 8f7540d57e..be88779e0c 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -7,28 +7,27 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.99 1999/07/17 20:18:44 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.100 1999/07/19 02:27:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <ctype.h>
+
+#include "postgres.h"
#include "libpq-fe.h"
#include "libpq-int.h"
#include "fe-auth.h"
-#include "postgres.h"
#ifdef WIN32
#include "win32.h"
#else
-#if !defined(NO_UNISTD_H)
-#include <unistd.h>
-#endif
#include <netdb.h>
#include <netinet/tcp.h>
#endif
-#include <fcntl.h>
-#include <errno.h>
-#include <ctype.h> /* for isspace() */
#ifndef HAVE_STRDUP
#include "strdup.h"