aboutsummaryrefslogtreecommitdiff
path: root/src/include/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port.h')
-rw-r--r--src/include/port.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 2fd6de606c1..783d41cc0ed 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: port.h,v 1.5 2003/06/12 08:11:07 momjian Exp $
+ * $Id: port.h,v 1.6 2003/06/12 08:15:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -76,8 +76,10 @@ extern double rint(double x);
#endif
#ifndef HAVE_INET_ATON
+#if !defined(_MSC_VER) && !defined(__BORLANDC__)
# include <netinet/in.h>
# include <arpa/inet.h>
+#endif
extern int inet_aton(const char *cp, struct in_addr * addr);
#endif