blob: ddd1687c469ec9467e3ad42530ab1ad193d3cfba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Fixes compilation with musl
Patch by Natanael Copa
https://gitlab.alpinelinux.org/alpine/aports/-/issues/2890
https://bugs.gentoo.org/717202
--- a/dnstop.c
+++ b/dnstop.c
@@ -69,7 +69,7 @@
#define ETHERTYPE_IPV6 0x86DD
#endif
-#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
+#if defined(__GLIBC__) || defined(__GNU__)
#define uh_dport dest
#define uh_sport source
#endif
|