diff options
Diffstat (limited to 'src/bin/psql/common.c')
-rw-r--r-- | src/bin/psql/common.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index c79d61cfbca..f67c9a64443 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.49 2002/10/23 19:23:56 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.50 2002/10/24 01:33:50 momjian Exp $ */ #include "postgres_fe.h" @@ -25,6 +25,17 @@ #include <sys/timeb.h> /* for _ftime() */ #endif +#ifndef WIN32 +#include <sys/ioctl.h> /* for ioctl() */ +#else +#define popen(x,y) _popen(x,y) +#define pclose(x) _pclose(x) +#endif + +#ifdef HAVE_TERMIOS_H +#include <termios.h> +#endif + #include "libpq-fe.h" #include "pqsignal.h" |