1 From 992723e3712a09037338aa9e5506a080e24d1642 Mon Sep 17 00:00:00 2001
2 From: Stijn Tintel <stijn@linux-ipv6.be>
3 Date: Mon, 25 Sep 2017 08:09:01 +0300
4 Subject: [PATCH] ipset: fix build with musl
6 Include sys/types.h for u_int8_t and define _GNU_SOURCE for musl to
9 Fixes: 54802b2c2826 ("Report if the option is supported by a newer kernel release")
10 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
11 Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
14 1 file changed, 2 insertions(+)
16 diff --git a/src/ipset.c b/src/ipset.c
17 index 79f56b8..8d70abc 100644
21 #include <stdio.h> /* fprintf, fgets */
22 #include <stdlib.h> /* exit */
23 #include <string.h> /* str* */
25 +#include <sys/types.h> /* u_int8_t */