900-musl-compat.patch 395 B

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