diff options
author | Cliff Woolley <jwoolley@apache.org> | 2002-03-18 06:22:37 +0100 |
---|---|---|
committer | Cliff Woolley <jwoolley@apache.org> | 2002-03-18 06:22:37 +0100 |
commit | 1e54774af1ed7aadb8e59c1927c527e8f7a3d061 (patch) | |
tree | 4d11f372f5c38dfab33a2b78d869830a8b878487 /modules/experimental/mod_mem_cache.c | |
parent | Fix a possibly-uninitialized warning and a boolean logic bug (diff) | |
download | apache2-1e54774af1ed7aadb8e59c1927c527e8f7a3d061.tar.xz apache2-1e54774af1ed7aadb8e59c1927c527e8f7a3d061.zip |
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
Diffstat (limited to '')
-rw-r--r-- | modules/experimental/mod_mem_cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index 00eb45e7dd..6b516eac0a 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 <unistd.h> +#endif /* USE_ATOMICS should be replaced with the appropriate APR feature macro */ #define USE_ATOMICS |