diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-09-08 19:07:07 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-09-08 19:07:07 +0000 |
commit | 7cd8e12872e3041f14eecc0550b0ef4fd5bdaba9 (patch) | |
tree | 92cb779596a29b7240931eeeaab9a0224b49b799 /memory | |
parent | 785a9911af7a78e5ec5a38886303b7969fc4a9d4 (diff) | |
download | libapr-7cd8e12872e3041f14eecc0550b0ef4fd5bdaba9.tar.gz |
Protect some #includes with #ifdefs and remove one that is no longer needed.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59203 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_pools.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index 14463e815..b6b2163f8 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -72,10 +72,15 @@ #include "apr_pools.h" #include "apr_lib.h" #include "misc.h" +#ifdef HAVE_SYS_STAT_H #include <sys/stat.h> +#endif +#ifdef HAVE_SYS_STAT_H #include <sys/types.h> -#include <dirent.h> +#endif +#ifdef HAVE_SYS_STAT_H #include <fcntl.h> +#endif #ifdef HAVE_STDLIB_H #include <stdlib.h> |