aboutsummaryrefslogtreecommitdiffstats
path: root/main/dnstop/musl-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dnstop/musl-fix.patch')
-rw-r--r--main/dnstop/musl-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/dnstop/musl-fix.patch b/main/dnstop/musl-fix.patch
new file mode 100644
index 0000000000..8b4cd98ea7
--- /dev/null
+++ b/main/dnstop/musl-fix.patch
@@ -0,0 +1,11 @@
+--- ./dnstop.c.orig
++++ ./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