[asterisk-commits] rizzo: trunk r93138 - /trunk/include/asterisk/file.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 14 17:33:24 CST 2007


Author: rizzo
Date: Fri Dec 14 17:33:24 2007
New Revision: 93138

URL: http://svn.digium.com/view/asterisk?view=rev&rev=93138
Log:
include mmap header if detected by configure


Modified:
    trunk/include/asterisk/file.h

Modified: trunk/include/asterisk/file.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/file.h?view=diff&rev=93138&r1=93137&r2=93138
==============================================================================
--- trunk/include/asterisk/file.h (original)
+++ trunk/include/asterisk/file.h Fri Dec 14 17:33:24 2007
@@ -27,6 +27,10 @@
 
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
+
+#ifdef HAVE_MMAP
+#include <sys/mman.h>
 #endif
 
 #if defined(__cplusplus) || defined(c_plusplus)




More information about the asterisk-commits mailing list