aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/patches/0057-Fix-build-after-y2038-changes-in-glib.patch
blob: 98364ea797f2f0d309bb3854814b313ba6693186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 3052ce208acf602f0163166dcefb7330d537cedb Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jslaby@suse.cz>
Date: Wed, 24 Jul 2019 17:34:48 +0100
Subject: [PATCH 57/57] Fix build after y2038 changes in glib.

SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
---
 src/dnsmasq.h | 1 +
 1 file changed, 1 insertion(+)

--- a/src/dnsmasq.h
+++ b/src/dnsmasq.h
@@ -137,6 +137,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. */