dnsmasq: backport latest patches
[openwrt/staging/luka.git] / package / network / services / dnsmasq / patches / 0057-Fix-build-after-y2038-changes-in-glib.patch
1 From 3052ce208acf602f0163166dcefb7330d537cedb Mon Sep 17 00:00:00 2001
2 From: Jiri Slaby <jslaby@suse.cz>
3 Date: Wed, 24 Jul 2019 17:34:48 +0100
4 Subject: [PATCH 57/57] Fix build after y2038 changes in glib.
5
6 SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now.
7
8 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
9 ---
10 src/dnsmasq.h | 1 +
11 1 file changed, 1 insertion(+)
12
13 --- a/src/dnsmasq.h
14 +++ b/src/dnsmasq.h
15 @@ -137,6 +137,7 @@ typedef unsigned long long u64;
16 #endif
17
18 #if defined(HAVE_LINUX_NETWORK)
19 +#include <linux/sockios.h>
20 #include <linux/capability.h>
21 /* There doesn't seem to be a universally-available
22 userspace header for these. */