summaryrefslogtreecommitdiff
path: root/dns/dnsmasq-devel/files/patch-src_dnsmasq.c
blob: 98c34221f71d0235cf36e26f483f970b9989bd37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/dnsmasq.c.orig	2025-05-24 14:09:53 UTC
+++ src/dnsmasq.c
@@ -81,7 +81,9 @@ int main (int argc, char **argv)
   int tftp_prefix_missing = 0;
 #endif
 
+#ifdef HAVE_LINUX_NETWORK
   (void)netlink_warn;
+#endif
   
 #if defined(HAVE_IDN) || defined(HAVE_LIBIDN2) || defined(LOCALEDIR)
   setlocale(LC_ALL, "");