include mmap header if detected by configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93138 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
d07830b2a3
commit
74fe6b3414
|
@ -29,6 +29,10 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_MMAP
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__cplusplus) || defined(c_plusplus)
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in New Issue