[Asterisk-cvs] asterisk/include/asterisk channel.h,1.55,1.55.2.1

russell at lists.digium.com russell at lists.digium.com
Sun Nov 7 19:07:15 CST 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv10478/include/asterisk

Modified Files:
      Tag: v1-0
	channel.h 
Log Message:
fix build for Mac OSX (bug #2803)


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.55
retrieving revision 1.55.2.1
diff -u -d -r1.55 -r1.55.2.1
--- channel.h	19 Sep 2004 16:17:18 -0000	1.55
+++ channel.h	8 Nov 2004 00:08:58 -0000	1.55.2.1
@@ -19,7 +19,11 @@
 #include <asterisk/chanvars.h>
 #include <unistd.h>
 #include <setjmp.h>
+#if defined(__APPLE__)
+#include <asterisk/poll-compat.h>
+#else
 #include <sys/poll.h>
+#endif
 
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {




More information about the svn-commits mailing list