lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

900-musl-compat.patch (395B)


      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  
      7 +/* Musl */
      8 +#elif !defined(__GLIBC__) && !defined(__UCLIBC__) \
      9 +      && LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
     10 +#define GENERIC_HEADERS
     11 +
     12  /* Unsupported combination */
     13  #else
     14  #error "Your kernel/libc combination is not supported"