summaryrefslogtreecommitdiff
path: root/include/arch/beos
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-05-12 10:36:40 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-05-12 10:36:40 +0000
commitc17adafaee0f4d8b4fc32f3af52a942a385437b4 (patch)
tree4c72b82de6d65bb782e3f9a45c07b4243bfa9bb3 /include/arch/beos
parent9b3cdc0ee27bd1cb37879908d24199e1d8ad118c (diff)
downloadlibapr-c17adafaee0f4d8b4fc32f3af52a942a385437b4.tar.gz
First commit to allow Apache to build with the latest BeOS version.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/beos')
-rw-r--r--include/arch/beos/networkio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/arch/beos/networkio.h b/include/arch/beos/networkio.h
index 3966acf43..b37797cb7 100644
--- a/include/arch/beos/networkio.h
+++ b/include/arch/beos/networkio.h
@@ -52,9 +52,14 @@
* <http://www.apache.org/>.
*/
+#ifdef HAVE_NETINET_TCP_H
+#include "../unix/network_io.h"
+#else
+
#ifndef NETWORK_IO_H
#define NETWORK_IO_H
+
#include <socket.h>
#include <netdb.h>
#include <errno.h>
@@ -109,4 +114,4 @@ ap_int16_t get_event(ap_int16_t);
int inet_aton(const char *cp, struct in_addr *addr);
#endif /* ! NETWORK_IO_H */
-
+#endif