[syslog-ng] afinet.c:: Compilation help needed on HP-UX 11i

Balazs Scheidler bazsi at balabit.hu
Tue Jan 30 14:07:47 CET 2007


On Tue, 2007-01-30 at 07:41 +0000, Shamim wrote:
> Hi,
>  
> output of the command is as below:
>  
> # find /usr/include -name \*.h | xargs grep "struct ip_mreq"
> /usr/include/netinet/in.h:struct ip_mreq {
> #

This patch should fix it:

--- orig/src/afinet.c
+++ mod/src/afinet.c
@@ -27,6 +27,7 @@
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <netinet/in.h>
 
 #include <string.h>
 




> 
-- 
Bazsi



More information about the syslog-ng mailing list