]> granicus.if.org Git - apache/commitdiff
Do we have sys/socket.h?
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 5 Feb 2002 23:13:42 +0000 (23:13 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 5 Feb 2002 23:13:42 +0000 (23:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93263 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/worker/fdqueue.h

index adce968e90c430f6af89e4673bffe994fa8eda2c..627b09e9a4d3a8d38683656526ae130631f321ca 100644 (file)
@@ -66,7 +66,9 @@
 #include <apr_thread_mutex.h>
 #include <apr_thread_cond.h>
 #include <sys/types.h>
+#if APR_HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
+#endif
 #include <apr_errno.h>
 
 #define FD_QUEUE_SUCCESS 0