]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / pppd.h
index d7b431d1faed210d7ead40584303de36490e793a..e59e0e508058d03dd9729129f68280f999ca1308 100644 (file)
 #include <stdarg.h>
 #include <stdint.h>
 #include <sys/types.h>         /* for u_int32_t, if defined */
+#if defined(SOL2)
 #include <net/ppp_defs.h>
+#else
+#include <linux/ppp_defs.h>
+#endif
 
 #ifdef PPP_WITH_IPV6CP
 #if defined(SOL2)