solaris: Support building on GNU Hurd

This commit is contained in:
David Michael 2017-06-03 20:53:48 -07:00 committed by Tanu Kaskinen
parent 0a46b437e2
commit e538e19664
2 changed files with 9 additions and 2 deletions

View file

@ -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])

View file

@ -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>