diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-29 08:01:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-29 08:44:18 +0000 |
commit | 04a14ba885aaaa8f281bfdaf663510375c66d346 (patch) | |
tree | cb3b7137034aa5bb4c4d67d8509f88e5528ec1cb /main/libnetfilter_log/sys-types2.patch | |
parent | 95ad883e6da70d2e773b489f1c316bfcb21d993f (diff) | |
download | aports-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-types2.patch')
-rw-r--r-- | main/libnetfilter_log/sys-types2.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/libnetfilter_log/sys-types2.patch b/main/libnetfilter_log/sys-types2.patch new file mode 100644 index 0000000000..e211453ecf --- /dev/null +++ b/main/libnetfilter_log/sys-types2.patch @@ -0,0 +1,14 @@ +diff --git a/include/libnetfilter_log/libipulog.h b/include/libnetfilter_log/libipulog.h +index 8a4ae2a..0994b4a 100644 +--- a/include/libnetfilter_log/libipulog.h ++++ b/include/libnetfilter_log/libipulog.h +@@ -5,6 +5,8 @@ + #include <unistd.h> + #include <fcntl.h> + ++#include <sys/types.h> /* for u_int*_t */ ++ + /* FIXME: glibc sucks */ + #ifndef MSG_TRUNC + #define MSG_TRUNC 0x20 + |