[pulseaudio-commits] configure.ac src/modules
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Fri Jul 14 19:01:31 UTC 2017
configure.ac | 2 +-
src/modules/module-solaris.c | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
New commits:
commit e538e19664d83fd80af6180c255ff702ac421837
Author: David Michael <fedora.dm0 at gmail.com>
Date: Sat Jun 3 20:53:48 2017 -0700
solaris: Support building on GNU Hurd
diff --git a/configure.ac b/configure.ac
index da0bfcd5..1f8a1813 100644
--- a/configure.ac
+++ b/configure.ac
@@ -436,7 +436,7 @@ AM_CONDITIONAL([HAVE_EVDEV], [test "x$HAVE_EVDEV" = "x1"])
AC_CHECK_HEADERS_ONCE([sys/prctl.h])
# Solaris
-AC_CHECK_HEADERS_ONCE([sys/filio.h])
+AC_CHECK_HEADERS_ONCE([sys/conf.h sys/filio.h])
# Windows
AC_CHECK_HEADERS_ONCE([windows.h winsock2.h ws2tcpip.h])
diff --git a/src/modules/module-solaris.c b/src/modules/module-solaris.c
index fee69e74..f44bc7c7 100644
--- a/src/modules/module-solaris.c
+++ b/src/modules/module-solaris.c
@@ -31,11 +31,18 @@
#include <sys/ioctl.h>
#include <sys/types.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
+#endif
+
#include <signal.h>
#include <stropts.h>
-#include <sys/conf.h>
#include <sys/audio.h>
+#ifdef HAVE_SYS_CONF_H
+#include <sys/conf.h>
+#endif
+
#include <pulse/mainloop-signal.h>
#include <pulse/xmalloc.h>
#include <pulse/timeval.h>
More information about the pulseaudio-commits
mailing list