pkgsrc-ng/sysutils/syslog-ng/patches/patch-modules_afsocket_socket-options-inet.c
2016-10-14 07:49:11 +02:00

15 lines
375 B
C

$NetBSD: patch-modules_afsocket_socket-options-inet.c,v 1.1 2015/10/29 16:34:13 fhajny Exp $
Need netinet/in.h.
--- modules/afsocket/socket-options-inet.c.orig 2014-12-15 14:48:45.000000000 +0000
+++ modules/afsocket/socket-options-inet.c
@@ -25,6 +25,7 @@
#include "messages.h"
#include <string.h>
+#include <netinet/in.h>
#ifndef SOL_IP
#define SOL_IP IPPROTO_IP