projects
/
dnsmasq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b87de
)
Unbreak compilation on non-Linux systems (FreeBSD)
author
Matthias Andree
<matthias.andree@gmx.de>
Sat, 24 May 2025 19:33:16 +0000
(21:33 +0200)
committer
Simon Kelley
<simon@thekelleys.org.uk>
Sun, 25 May 2025 20:15:41 +0000
(21:15 +0100)
and put the void cast of netlink_warn under the same preprocessor
condition as its definition, #ifdef HAVE_LINUX_NETWORK.
src/dnsmasq.c
patch
|
blob
|
history
diff --git
a/src/dnsmasq.c
b/src/dnsmasq.c
index
4c70236
..
62a9e59
100644
(file)
--- a/
src/dnsmasq.c
+++ b/
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, "");