]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ccp.c
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / ccp.c
index cfe94f8e9f3af44813a6e2cda02b2243924df956..088a163c3f68370623b09ee3ecf61ea6436ca419 100644 (file)
 
 #include <stdlib.h>
 #include <string.h>
+#if defined(SOL2)
+#include <net/ppp-comp.h>
+#else
+#include <linux/ppp-comp.h>
+#endif
 
 #include "pppd.h"
 #include "fsm.h"
 #include "ccp.h"
-#include <net/ppp-comp.h>
 
 #include "chap_ms.h"
 #include "mppe.h"