Blame SOURCES/dnsmasq-2.81-linux-SIOCGSTAMP.patch

9481f4
From 3052ce208acf602f0163166dcefb7330d537cedb Mon Sep 17 00:00:00 2001
9481f4
From: Jiri Slaby <jslaby@suse.cz>
9481f4
Date: Wed, 24 Jul 2019 17:34:48 +0100
9481f4
Subject: [PATCH] Fix build after y2038 changes in glib.
9481f4
9481f4
SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now.
9481f4
---
9481f4
 src/dnsmasq.h | 1 +
9481f4
 1 file changed, 1 insertion(+)
9481f4
9481f4
diff --git a/src/dnsmasq.h b/src/dnsmasq.h
9481f4
index ff3204a..3ef04ad 100644
9481f4
--- a/src/dnsmasq.h
9481f4
+++ b/src/dnsmasq.h
9481f4
@@ -137,6 +137,7 @@ typedef unsigned long long u64;
9481f4
 #endif
9481f4
 
9481f4
 #if defined(HAVE_LINUX_NETWORK)
9481f4
+#include <linux/sockios.h>
9481f4
 #include <linux/capability.h>
9481f4
 /* There doesn't seem to be a universally-available 
9481f4
    userspace header for these. */
9481f4
-- 
9481f4
2.36.1
9481f4