lkml.org 
[lkml]   [2014]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] uapi: ppp-ioctl.h: pull in ppp_defs.h
Date
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>
---
include/uapi/linux/ppp-ioctl.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/ppp-ioctl.h b/include/uapi/linux/ppp-ioctl.h
index 2d9a885..63a23a3 100644
--- a/include/uapi/linux/ppp-ioctl.h
+++ b/include/uapi/linux/ppp-ioctl.h
@@ -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.
--
1.8.4.3


\
 
 \ /
  Last update: 2014-01-22 04:41    [W:0.036 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site