diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-08-23 10:29:28 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-24 16:55:40 +0200 |
commit | bc0b49ab65369916e93fdde9025c0dbdfff9e33a (patch) | |
tree | 41576adf4e400bc0d3c6dfd521f4f577fef8dee8 | |
parent | d2849d189b0e6703e892fa8074477de07f4723e9 (diff) |
conntrackd: cthelper: ssdp: fix build with musl
For musl libc to expose the members of `struct tcphdr`, _GNU_SOURCE
needs to be defined.
Fixes: b61c4543cbde ("conntrackd: cthelper: ssdp: Track UPnP eventing")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | src/helpers/ssdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/ssdp.c b/src/helpers/ssdp.c index 1f7f76f..58658e3 100644 --- a/src/helpers/ssdp.c +++ b/src/helpers/ssdp.c @@ -49,6 +49,7 @@ #include <stdlib.h> #include <arpa/inet.h> #include <netinet/ip.h> +#define _GNU_SOURCE #include <netinet/tcp.h> #include <netinet/udp.h> #include <libmnl/libmnl.h> |