浏览代码

include/uapi/linux/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.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Mike Frysinger 11 年之前
父节点
当前提交
e8b6714604
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/uapi/linux/ppp-ioctl.h

+ 1 - 0
include/uapi/linux/ppp-ioctl.h

@@ -12,6 +12,7 @@
 
 
 #include <linux/types.h>
 #include <linux/types.h>
 #include <linux/compiler.h>
 #include <linux/compiler.h>
+#include <linux/ppp_defs.h>
 
 
 /*
 /*
  * Bit definitions for flags argument to PPPIOCGFLAGS/PPPIOCSFLAGS.
  * Bit definitions for flags argument to PPPIOCGFLAGS/PPPIOCSFLAGS.