[pulseaudio-commits] r1925 - in /branches/lennart: configure.ac src/pulse/mainloop.c src/pulse/thread-mainloop.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Oct 3 07:41:22 PDT 2007


Author: ossman
Date: Wed Oct  3 16:41:21 2007
New Revision: 1925

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1925&root=pulseaudio&view=rev
Log:
Replace all references to sys/poll.h with poll.h as that's what POSIX defines.

Modified:
    branches/lennart/configure.ac
    branches/lennart/src/pulse/mainloop.c
    branches/lennart/src/pulse/thread-mainloop.c

Modified: branches/lennart/configure.ac
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/configure.ac?rev=1925&root=pulseaudio&r1=1924&r2=1925&view=diff
==============================================================================
--- branches/lennart/configure.ac (original)
+++ branches/lennart/configure.ac Wed Oct  3 16:41:21 2007
@@ -185,7 +185,7 @@
 
 # POSIX
 AC_CHECK_HEADERS([arpa/inet.h glob.h grp.h netdb.h netinet/in.h \
-    netinet/in_systm.h netinet/tcp.h pwd.h sched.h \
+    netinet/in_systm.h netinet/tcp.h poll.h pwd.h sched.h \
     sys/mman.h sys/resource.h sys/select.h sys/socket.h sys/wait.h \
     syslog.h sys/dl.h dlfcn.h])
 AC_CHECK_HEADERS([netinet/ip.h], [], [],
@@ -202,9 +202,6 @@
 
 AM_CONDITIONAL(HAVE_REGEX, test "x$HAVE_REGEX" = "x1")
 AM_CONDITIONAL(HAVE_AF_UNIX, test "x$HAVE_AF_UNIX" = "x1")
-
-# XPG4-UNIX
-AC_CHECK_HEADERS([sys/poll.h])
 
 # Linux
 AC_CHECK_HEADERS([linux/input.h], [HAVE_EVDEV=1], [HAVE_EVDEV=0])

Modified: branches/lennart/src/pulse/mainloop.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulse/mainloop.c?rev=1925&root=pulseaudio&r1=1924&r2=1925&view=diff
==============================================================================
--- branches/lennart/src/pulse/mainloop.c (original)
+++ branches/lennart/src/pulse/mainloop.c Wed Oct  3 16:41:21 2007
@@ -34,8 +34,8 @@
 #include <fcntl.h>
 #include <errno.h>
 
-#ifdef HAVE_SYS_POLL_H
-#include <sys/poll.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
 #else
 #include <pulsecore/poll.h>
 #endif

Modified: branches/lennart/src/pulse/thread-mainloop.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulse/thread-mainloop.c?rev=1925&root=pulseaudio&r1=1924&r2=1925&view=diff
==============================================================================
--- branches/lennart/src/pulse/thread-mainloop.c (original)
+++ branches/lennart/src/pulse/thread-mainloop.c Wed Oct  3 16:41:21 2007
@@ -29,8 +29,8 @@
 #include <signal.h>
 #include <stdio.h>
 
-#ifdef HAVE_SYS_POLL_H
-#include <sys/poll.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
 #else
 #include <pulsecore/poll.h>
 #endif




More information about the pulseaudio-commits mailing list