summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-print.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-print.c
parent677028177e231ca8dce4c237a026e3d3b58cb314 (diff)
Re-add getopt.h check, remove NT-specific tests for it.
Diffstat (limited to 'src/interfaces/libpq/fe-print.c')
-rw-r--r--src/interfaces/libpq/fe-print.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c
index 1b8c73b07fc..0d97a3a84db 100644
--- a/src/interfaces/libpq/fe-print.c
+++ b/src/interfaces/libpq/fe-print.c
@@ -9,29 +9,29 @@
* didn't really belong there.
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.24 1999/07/17 20:18:47 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.25 1999/07/19 02:27:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#include <unistd.h>
+#include <signal.h>
+
+#include "postgres.h"
#include "libpq-fe.h"
#include "libpq-int.h"
-#include "postgres.h"
#include "pqsignal.h"
#ifdef WIN32
#include "win32.h"
#else
-#if !defined(NO_UNISTD_H)
-#include <unistd.h>
-#endif
#include <sys/ioctl.h>
-#ifndef HAVE_TERMIOS_H
-#include <sys/termios.h>
-#else
+#endif
+
+#ifdef HAVE_TERMIOS_H
#include <termios.h>
+#else
+#include <sys/termios.h>
#endif
-#endif /* WIN32 */
-#include <signal.h>
#ifdef MULTIBYTE
#include "mb/pg_wchar.h"