summaryrefslogtreecommitdiff
path: root/include/arch/unix/networkio.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-22 00:36:07 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-22 00:36:07 +0000
commitfcd63650edcfbd6efcf028ab6cbeb9c454443afe (patch)
tree5322a9b5b971d414e76defda30ae5be49a73769d /include/arch/unix/networkio.h
parent62946928e4f417f23b3da6756fadeb754a650644 (diff)
downloadlibapr-fcd63650edcfbd6efcf028ab6cbeb9c454443afe.tar.gz
Big commit. Basically, if APR defines a public feature macro, then APR
should also use that macro internally. This keeps us from checking for multiple macros as we were doing in the SENDFILE case. It also means that APR is definately building the same way that external programs expect it to. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix/networkio.h')
-rw-r--r--include/arch/unix/networkio.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/arch/unix/networkio.h b/include/arch/unix/networkio.h
index ad5173687..6dccfaad8 100644
--- a/include/arch/unix/networkio.h
+++ b/include/arch/unix/networkio.h
@@ -55,6 +55,7 @@
#ifndef NETWORK_IO_H
#define NETWORK_IO_H
+#include "apr.h"
#include "apr_private.h"
#include "apr_network_io.h"
#include "apr_errno.h"
@@ -62,16 +63,16 @@
#include "apr_lib.h"
/* System headers the network I/O library needs */
-#if HAVE_SYS_TYPES_H
+#if APR_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#if HAVE_SYS_UIO_H
+#if APR_HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
#if HAVE_POLL_H
#include <poll.h>
#endif
-#if HAVE_ERRNO_H
+#if APR_HAVE_ERRNO_H
#include <errno.h>
#endif
#if HAVE_SYS_TIME_H
@@ -98,7 +99,7 @@
#if HAVE_NETDB_H
#include <netdb.h>
#endif
-#if HAVE_FCNTL_H
+#if APR_HAVE_FCNTL_H
#include <fcntl.h>
#endif
#if HAVE_SYS_SENDFILE_H