musl.patch 209 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
--- ./miniupnpd.c.orig
+++ ./miniupnpd.c
@@ -39,7 +39,7 @@
 #include <sys/param.h>
 #if defined(sun)
 #include <kstat.h>
-#else
+#elif defined(__BSD__)
 /* for BSD's sysctl */
 #include <sys/sysctl.h>
 #endif