From: Stijn Tintel Date: Mon, 25 Sep 2017 05:09:01 +0000 (+0300) Subject: ipset: fix build with musl X-Git-Tag: v6.35~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992723e3712a09037338aa9e5506a080e24d1642;p=thirdparty%2Fipset.git ipset: fix build with musl Include sys/types.h for u_int8_t and define _GNU_SOURCE for musl to expose it. Fixes: 54802b2c2826 ("Report if the option is supported by a newer kernel release") Signed-off-by: Stijn Tintel Signed-off-by: Jozsef Kadlecsik --- diff --git a/src/ipset.c b/src/ipset.c index 79f56b86..8d70abcc 100644 --- a/src/ipset.c +++ b/src/ipset.c @@ -14,6 +14,8 @@ #include /* fprintf, fgets */ #include /* exit */ #include /* str* */ +#define _GNU_SOURCE +#include /* u_int8_t */ #include