aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/900-musl-compat.patch
blob: 7bc6ae1ef4d687e389c3cec2078a7562ee07b4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/agent/mibgroup/iwlib.h
+++ b/agent/mibgroup/iwlib.h
@@ -85,6 +85,10 @@
       && LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)
 #define LIBC5_HEADERS
 
+/* Musl */
+#elif !defined(__GLIBC__) && LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
+#define GENERIC_HEADERS
+
 /* Unsupported combination */
 #else
 #error "Your kernel/libc combination is not supported"