From bc0b49ab65369916e93fdde9025c0dbdfff9e33a Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Wed, 23 Aug 2017 10:29:28 +0300 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- src/helpers/ssdp.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#define _GNU_SOURCE #include #include #include -- cgit v1.2.3