aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnetfilter_log/sys-types.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-29 08:01:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-29 08:44:18 +0000
commit04a14ba885aaaa8f281bfdaf663510375c66d346 (patch)
treecb3b7137034aa5bb4c4d67d8509f88e5528ec1cb /main/libnetfilter_log/sys-types.patch
parent95ad883e6da70d2e773b489f1c316bfcb21d993f (diff)
downloadaports-04a14ba885aaaa8f281bfdaf663510375c66d346.tar.bz2
aports-04a14ba885aaaa8f281bfdaf663510375c66d346.tar.xz
main/libnetfilter_log: pull in sys/types.h for int types
This actually requires _GNU_SOURCE
Diffstat (limited to 'main/libnetfilter_log/sys-types.patch')
-rw-r--r--main/libnetfilter_log/sys-types.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/libnetfilter_log/sys-types.patch b/main/libnetfilter_log/sys-types.patch
new file mode 100644
index 0000000000..1662636cc6
--- /dev/null
+++ b/main/libnetfilter_log/sys-types.patch
@@ -0,0 +1,21 @@
+From 7529487f70e244cd31ef84b037b1c32749c134a7 Mon Sep 17 00:00:00 2001
+From: Eric Leblond <eric@regit.org>
+Date: Sun, 4 Nov 2012 09:29:44 +0100
+Subject: Add include needed for integer type definition.
+
+
+diff --git a/include/libnetfilter_log/libnetfilter_log.h b/include/libnetfilter_log/libnetfilter_log.h
+index 6b0d3b0..a1331de 100644
+--- a/include/libnetfilter_log/libnetfilter_log.h
++++ b/include/libnetfilter_log/libnetfilter_log.h
+@@ -9,6 +9,7 @@
+ #ifndef __LIBNETFILTER_LOG_H
+ #define __LIBNETFILTER_LOG_H
+
++#include <sys/types.h>
+ #include <libnetfilter_log/linux_nfnetlink_log.h>
+
+ struct nflog_handle;
+--
+cgit v0.10.2
+