diff options
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> |