diff options
Diffstat (limited to 'src/port/getaddrinfo.c')
-rw-r--r-- | src/port/getaddrinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c index 409aef5e9ca..3ceaa3e52b7 100644 --- a/src/port/getaddrinfo.c +++ b/src/port/getaddrinfo.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/port/getaddrinfo.c,v 1.4 2003/06/12 07:36:51 momjian Exp $ + * $Header: /cvsroot/pgsql/src/port/getaddrinfo.c,v 1.5 2003/06/12 08:02:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -16,6 +16,7 @@ /* This is intended to be used in both frontend and backend, so use c.h */ #include "c.h" +#if !defined(_MSC_VER) && !defined(__BORLANDC__) #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> @@ -24,6 +25,7 @@ #ifdef HAVE_UNIX_SOCKETS #include <sys/un.h> #endif +#endif #include "getaddrinfo.h" |