mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
native: Fix Solaris build
tcpwrappers has some Solaris-specific quirks that need to be dealt with. Patch submitted by Brian Cameron <brian.cameron@oracle.com>.
This commit is contained in:
parent
d80a3cf56e
commit
4ce0eb18c2
1 changed files with 9 additions and 0 deletions
|
|
@ -45,8 +45,17 @@
|
|||
|
||||
#ifdef HAVE_LIBWRAP
|
||||
#include <tcpd.h>
|
||||
|
||||
/* Solaris requires that the allow_severity and deny_severity variables be
|
||||
* defined in the client program. */
|
||||
#ifdef __sun
|
||||
#include <syslog.h>
|
||||
int allow_severity = LOG_INFO;
|
||||
int deny_severity = LOG_WARNING;
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_LIBWRAP */
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue