From: Cliff Woolley Date: Mon, 18 Mar 2002 05:22:37 +0000 (+0000) Subject: Hacks on top of hacks... UNIX needs unistd.h for the close() prototype X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5701c9d376be47d00bd3c999718d2a3e81177448;p=thirdparty%2Fapache%2Fhttpd.git Hacks on top of hacks... UNIX needs unistd.h for the close() prototype git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93993 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index 00eb45e7dd6..6b516eac0a2 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -62,6 +62,9 @@ #include "mod_cache.h" #include "ap_mpm.h" #include "apr_thread_mutex.h" +#ifdef APR_HAVE_UNISTD_H +#include +#endif /* USE_ATOMICS should be replaced with the appropriate APR feature macro */ #define USE_ATOMICS