diff options
Diffstat (limited to 'src/port/inet_aton.c')
-rw-r--r-- | src/port/inet_aton.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/port/inet_aton.c b/src/port/inet_aton.c index c55ac4fa518..1f45e92f95d 100644 --- a/src/port/inet_aton.c +++ b/src/port/inet_aton.c @@ -1,4 +1,4 @@ -/* $Id: inet_aton.c,v 1.2 2002/09/02 02:47:07 momjian Exp $ +/* $Id: inet_aton.c,v 1.3 2003/06/12 08:02:57 momjian Exp $ * * This inet_aton() function was taken from the GNU C library and * incorporated into Postgres for those systems which do not have this @@ -44,8 +44,10 @@ #include "c.h" +#if !defined(WIN32) || (!defined(_MSC_VER) && !defined(__BORLANDC__)) #include <netinet/in.h> #include <ctype.h> +#endif /* * Check whether "cp" is a valid ascii representation |