]> granicus.if.org Git - apache/commitdiff
Hacks on top of hacks... UNIX needs unistd.h for the close() prototype
authorCliff Woolley <jwoolley@apache.org>
Mon, 18 Mar 2002 05:22:37 +0000 (05:22 +0000)
committerCliff Woolley <jwoolley@apache.org>
Mon, 18 Mar 2002 05:22:37 +0000 (05:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93993 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index 00eb45e7dd6257cce6abfd1f64032ac8acbfe48d..6b516eac0a27a18e7332944acaa7bf5aea54e8c2 100644 (file)
@@ -62,6 +62,9 @@
 #include "mod_cache.h"
 #include "ap_mpm.h"
 #include "apr_thread_mutex.h"
+#ifdef APR_HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 /* USE_ATOMICS should be replaced with the appropriate APR feature macro */
 #define USE_ATOMICS