[asterisk-commits] rizzo: branch group/video_console r92977 - /team/group/video_console/include/...

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


Author: rizzo
Date: Fri Dec 14 10:17:09 2007
New Revision: 92977

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92977
Log:
conditionally include the mmap header. This has been verified
as available by autoconf so it is safe to do it here.

note to self: trunk candidate

Modified:
    team/group/video_console/include/asterisk/file.h

Modified: team/group/video_console/include/asterisk/file.h
URL: http://svn.digium.com/view/asterisk/team/group/video_console/include/asterisk/file.h?view=diff&rev=92977&r1=92976&r2=92977
==============================================================================
--- team/group/video_console/include/asterisk/file.h (original)
+++ team/group/video_console/include/asterisk/file.h Fri Dec 14 10:17:09 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