iptables: bump to version 1.6.1
[buildroot-gz.git] / package / netplug / 0002-add-missing-time-include.patch
blobf204c92431a4a9699bc6d5ccacddb90625f52b12
1 Add missing <time.h> include
3 netplug.h uses time_t, so it must include <time.h>. This fixes a build
4 issue with the musl C library.
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 Index: b/netplug.h
9 ===================================================================
10 --- a/netplug.h
11 +++ b/netplug.h
12 @@ -20,7 +20,7 @@
13 #ifndef __netplug_h
14 #define __netplug_h
17 +#include <time.h>
18 #include <asm/types.h>
19 #include <sys/socket.h>
20 #include <linux/netlink.h>