Skip to contentSkip to conversation

uapi: ppp-ioctl.h: pull in ppp_defs.h

PATCH New Mike Frysinger 1 participant 1 message Jan 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uapi: ppp-ioctl.h: pull in ppp_defs.h

This header uses enum NPmode but doesn't include ppp_defs.h. If you try to use this header w/out including the defs header first, it leads to a build failure. So add the explicit include to fix it.

Don't know of any packages directly impacted, but noticed while building some ppp code by hand.

---
 include/uapi/linux/ppp-ioctl.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/ppp-ioctl.h +1 -0
index 2d9a885..63a23a3 100644
@@ -12,6 +12,7 @@
 
 #include <linux/types.h>
 #include <linux/compiler.h>
+#include <linux/ppp_defs.h>
 
 /*
  * Bit definitions for flags argument to PPPIOCGFLAGS/PPPIOCSFLAGS.
Signature · 1 line
1.8.4.3