[asterisk-commits] russell: branch russell/poll_compat r182805 - in /team/russell/poll_compat: ....

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 17 20:43:20 CDT 2009


Author: russell
Date: Tue Mar 17 20:43:17 2009
New Revision: 182805

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=182805
Log:
Fix configure script check for poll.h, and fix build of chan_alsa

Modified:
    team/russell/poll_compat/channels/chan_alsa.c
    team/russell/poll_compat/configure
    team/russell/poll_compat/configure.ac

Modified: team/russell/poll_compat/channels/chan_alsa.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/poll_compat/channels/chan_alsa.c?view=diff&rev=182805&r1=182804&r2=182805
==============================================================================
--- team/russell/poll_compat/channels/chan_alsa.c (original)
+++ team/russell/poll_compat/channels/chan_alsa.c Tue Mar 17 20:43:17 2009
@@ -62,6 +62,7 @@
 #include "asterisk/stringfields.h"
 #include "asterisk/abstract_jb.h"
 #include "asterisk/musiconhold.h"
+#include "asterisk/poll-compat.h"
 
 #include "busy_tone.h"
 #include "ring_tone.h"

Modified: team/russell/poll_compat/configure.ac
URL: http://svn.digium.com/svn-view/asterisk/team/russell/poll_compat/configure.ac?view=diff&rev=182805&r1=182804&r2=182805
==============================================================================
--- team/russell/poll_compat/configure.ac (original)
+++ team/russell/poll_compat/configure.ac Tue Mar 17 20:43:17 2009
@@ -230,8 +230,8 @@
 AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h utime.h arpa/nameser.h sys/io.h])
 
 AC_CHECK_HEADER([sys/poll.h],
-     AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.]),
-	 [])
+	 [],
+     AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.]))
 
 AC_SYS_LARGEFILE
 




More information about the asterisk-commits mailing list