]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
pppd: Fix GLIBC version test for non-glibc toolchains
[ppp.git] / pppd / sys-linux.c
index 761aafc88f92530b27264d4bfa87215b66ff194c..eedcb53b06923d3e39459551b0a2f594d99f8b47 100644 (file)
 #define MAX_ADDR_LEN 7
 #endif
 
-#if __GLIBC__ >= 2
+#if !defined(__GLIBC__) || __GLIBC__ >= 2
 #include <asm/types.h>         /* glibc 2 conflicts with linux/types.h */
 #include <net/if.h>
 #include <net/if_arp.h>