LOG_INFO is in <syslog.h> on Solaris. Should we possibly turn this
into:
  #ifdef HAVE_LIBWRAP
  #ifdef HAVE_SYSLOG_H
  #include <syslog.h>
  #endif
  int allow_severity = LOG_INFO;
  int deny_severity  = LOG_WARNING;
  #endif

-- 
albert chin ([EMAIL PROTECTED])

-- snip snip
--- globals-report.c.orig       Sat Oct 28 15:48:27 2000
+++ globals-report.c    Sat Oct 28 15:48:56 2000
@@ -42,7 +42,8 @@
 #endif
 
 /* TCP Wrappers */
-#ifdef HAVE_LIBWRAP
+#if defined(HAVE_LIBWRAP) && defined(HAVE_SYSLOG_H)
+#include <syslog.h>
 int allow_severity = LOG_INFO;
 int deny_severity  = LOG_WARNING;
-#endif /* HAVE_LIBWRAP */
+#endif /* HAVE_LIBWRAP && HAVE_SYSLOG_H */

Reply via email to