diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-07-03 04:29:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-07-03 04:29:04 +0000 |
commit | 9f9644d01d2cee478cc36a8d91d6e7008f2290e5 (patch) | |
tree | 6355175bca80a722decd74276a5183c8c8da115a | |
parent | c765b4b052262416a2212ba206d9669f88ca68b9 (diff) | |
download | postgresql-9f9644d01d2cee478cc36a8d91d6e7008f2290e5.tar.gz postgresql-9f9644d01d2cee478cc36a8d91d6e7008f2290e5.zip |
win32 cleanup
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index ba886d4c643..61adfceace6 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,22 +7,27 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.70 1998/07/03 04:24:12 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.71 1998/07/03 04:29:04 momjian Exp $ * *------------------------------------------------------------------------- */ #include <stdlib.h> #include <sys/types.h> +#ifdef WIN32 +#include "win32.h" +#else #include <sys/socket.h> -#include <fcntl.h> #include <unistd.h> -#include <stdio.h> -#include <ctype.h> -#include <string.h> #include <netdb.h> +#include <sys/un.h> #include <netinet/in.h> #include <netinet/tcp.h> +#endif +#include <fcntl.h> +#include <stdio.h> +#include <ctype.h> +#include <string.h> #include <errno.h> #include <signal.h> #include <ctype.h> /* for isspace() */ |