900-musl-compat.patch 362 B

12345678910111213
  1. --- a/agent/mibgroup/iwlib.h
  2. +++ b/agent/mibgroup/iwlib.h
  3. @@ -85,6 +85,10 @@
  4. && LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)
  5. #define LIBC5_HEADERS
  6. +/* Musl */
  7. +#elif !defined(__GLIBC__) && LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
  8. +#define GENERIC_HEADERS
  9. +
  10. /* Unsupported combination */
  11. #else
  12. #error "Your kernel/libc combination is not supported"