summaryrefslogtreecommitdiff
path: root/mmap
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-25 20:39:41 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-25 20:39:41 +0000
commitf2f554ea893c1326445c8546eca02c5e65c85e04 (patch)
treea3e2e599ce12612d3dee4b8692c03509a4ca0fa7 /mmap
parent60d7c3aed3968f82f261c822e236427fc7242a15 (diff)
downloadlibapr-f2f554ea893c1326445c8546eca02c5e65c85e04.tar.gz
Fix the hosed #ifdef APR_HAVE_FOO_H tests, the #if HAVE_ tests, and
also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap')
-rw-r--r--mmap/unix/mmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index 32ae8a6d0..b5907772b 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -64,16 +64,16 @@
#ifdef BEOS
#include <kernel/OS.h>
#endif
-#if HAVE_STRING_H
+#if APR_HAVE_STRING_H
#include <string.h>
#endif
#if APR_HAVE_STDIO_H
#include <stdio.h>
#endif
-#if HAVE_SYS_STAT_H
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
-#if HAVE_SYS_MMAN_H
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif