summaryrefslogtreecommitdiff
path: root/network_io/beos/inet_aton.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_io/beos/inet_aton.c')
-rw-r--r--network_io/beos/inet_aton.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/network_io/beos/inet_aton.c b/network_io/beos/inet_aton.c
index 732019c11..1489487d8 100644
--- a/network_io/beos/inet_aton.c
+++ b/network_io/beos/inet_aton.c
@@ -68,6 +68,9 @@
* SOFTWARE.
*/
+#include "apr_private.h"
+#ifndef HAVE_NETINET_TCP_H
+
#include "networkio.h"
/* BeOS doesn't yet have it's own inet_aton and Bind won't be ported
@@ -171,3 +174,4 @@ int inet_aton(const char *cp, struct in_addr *addr) {
addr->s_addr = htonl(val);
return (1);
}
+#endif