summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pulsecore/socket-server.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pulsecore/socket-server.c b/src/pulsecore/socket-server.c
index 23096a0d..fd81c2ae 100644
--- a/src/pulsecore/socket-server.c
+++ b/src/pulsecore/socket-server.c
@@ -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>