[syslog-ng] Solaris 9/SPARC patch for 2.0.6 (tests/unit/test_dnscache.c)

Albert Chin syslog-ng at mlists.thewrittenword.com
Fri Dec 21 20:31:34 CET 2007


Solaris 9/SPARC needs sys/socket.h for AF_INET. Patch for
tests/unit/test_dnscache.c attached.

-- 
albert chin (china at thewrittenword.com)
-------------- next part --------------
Index: tests/unit/test_dnscache.c
===================================================================
--- tests/unit/test_dnscache.c.orig	2007-04-21 05:54:24.000000000 +0000
+++ tests/unit/test_dnscache.c	2007-12-21 19:29:37.876050247 +0000
@@ -1,5 +1,6 @@
 #include "dnscache.h"
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <string.h>


More information about the syslog-ng mailing list