File dnsmasq-siocgstamp.patch of Package dnsmasq.10988
From: Jiri Slaby <jslaby@suse.cz>
Date: Wed, 10 Jul 2019 08:19:06 +0200
Subject: fix build after y2038 changes in glibc
Patch-mainline: submitted on 2019/07/10
SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
src/dnsmasq.h | 1 +
1 file changed, 1 insertion(+)
--- src/dnsmasq.h.orig
+++ src/dnsmasq.h
@@ -128,6 +128,7 @@ typedef unsigned long long u64;
#endif
#if defined(HAVE_LINUX_NETWORK)
+#include <linux/sockios.h>
#include <linux/capability.h>
/* There doesn't seem to be a universally-available
userspace header for these. */