mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
NetBSD needs to include sys/uio.h for some socket functions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
This commit is contained in:
parent
bb23932e9a
commit
75eeea65bd
3 changed files with 9 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ AC_HEADER_STDC
|
|||
AC_CHECK_HEADERS([arpa/inet.h glob.h grp.h netdb.h netinet/in.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 linux/sockios.h])
|
||||
sys/uio.h syslog.h sys/dl.h dlfcn.h linux/sockios.h])
|
||||
AC_CHECK_HEADERS([netinet/ip.h], [], [],
|
||||
[#include <sys/types.h>
|
||||
#if HAVE_NETINET_IN_H
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@
|
|||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UIO_H
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
|
|
|||
|
|
@ -38,6 +38,10 @@
|
|||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UIO_H
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/core-error.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue