From 4ce0eb18c29f0834356d6dbd322cb32b4eda9b96 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 20 Oct 2011 14:44:22 +0530 Subject: [PATCH 1/1] native: Fix Solaris build tcpwrappers has some Solaris-specific quirks that need to be dealt with. Patch submitted by Brian Cameron . --- src/pulsecore/socket-server.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + +/* Solaris requires that the allow_severity and deny_severity variables be + * defined in the client program. */ +#ifdef __sun +#include +int allow_severity = LOG_INFO; +int deny_severity = LOG_WARNING; #endif +#endif /* HAVE_LIBWRAP */ + #include #include -- 2.39.2