diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-07-19 02:27:16 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-07-19 02:27:16 +0000 |
commit | e44c93180172b892993fcb77370c5546606b34ab (patch) | |
tree | c6096c88d9320a3b7be2d7a645577966253046a6 /src/interfaces/libpq/fe-auth.c | |
parent | 677028177e231ca8dce4c237a026e3d3b58cb314 (diff) | |
download | postgresql-e44c93180172b892993fcb77370c5546606b34ab.tar.gz postgresql-e44c93180172b892993fcb77370c5546606b34ab.zip |
Re-add getopt.h check, remove NT-specific tests for it.
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r-- | src/interfaces/libpq/fe-auth.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 62f5ad4f8eb..f9732893b81 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.30 1999/07/17 20:18:43 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.31 1999/07/19 02:27:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -25,10 +25,12 @@ * */ +#include <unistd.h> + +#include "postgres.h" #include "libpq-fe.h" #include "libpq-int.h" #include "fe-auth.h" -#include "postgres.h" #ifdef WIN32 #include "win32.h" @@ -37,11 +39,8 @@ #ifndef MAXHOSTNAMELEN #include <netdb.h> /* for MAXHOSTNAMELEN on some */ #endif -#if !defined(NO_UNISTD_H) -#include <unistd.h> -#endif #include <pwd.h> -#endif /* WIN32 */ +#endif #ifdef HAVE_CRYPT_H #include <crypt.h> |