aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 23:33:24 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 23:33:24 +0000
commit74fe6b3414054973627b8330acac3291b048267d (patch)
tree1d42efcf54862e8edd488ea5235218adf5e1645b /include/asterisk/file.h
parentd07830b2a39c243995e27f21297ce916d3f4ac64 (diff)
include mmap header if detected by configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93138 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/file.h')
-rw-r--r--include/asterisk/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 5b795d430..0f33b5340 100644
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -29,6 +29,10 @@
#include <fcntl.h>
#endif
+#ifdef HAVE_MMAP
+#include <sys/mman.h>
+#endif
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif