]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/socket-server.c
native: Fix Solaris build
[pulseaudio] / src / pulsecore / socket-server.c
index 23096a0d5072fbd91c32551ffb39ec49395f9070..fd81c2ae3b0b473fb429730fc2937fe7e1c841b6 100644 (file)
 
 #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>