include mmap header if detected by configure

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo 2007-12-14 23:33:24 +00:00
parent 4155befbc0
commit 2ee2c0b3a4
1 changed files with 4 additions and 0 deletions

View File

@ -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