diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-14 23:33:24 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-14 23:33:24 +0000 |
commit | 74fe6b3414054973627b8330acac3291b048267d (patch) | |
tree | 1d42efcf54862e8edd488ea5235218adf5e1645b /include | |
parent | d07830b2a39c243995e27f21297ce916d3f4ac64 (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')
-rw-r--r-- | include/asterisk/file.h | 4 |
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 |