diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-11-03 12:31:58 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-11-03 12:38:11 +0100 |
commit | e8f826f660be22540a84b0ba2947f1eedd7d61d8 (patch) | |
tree | f338ac7d24a01eca28c5044d5f08896d47e715e1 /src/libsystemd-network/sd-pppoe.c | |
parent | 1f1926aa5e836caa3bd6df43704aecd606135103 (diff) |
sd-pppoe: include ppp_defs.h
On older kernels before this patch:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e8b671460410c8fd996c8a1c228b718c547cc236
ppp-ioctl.h did not pull in ppp_defs.h which results in build errors
Diffstat (limited to 'src/libsystemd-network/sd-pppoe.c')
-rw-r--r-- | src/libsystemd-network/sd-pppoe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-pppoe.c b/src/libsystemd-network/sd-pppoe.c index 6f33541504..21ddaebdd2 100644 --- a/src/libsystemd-network/sd-pppoe.c +++ b/src/libsystemd-network/sd-pppoe.c @@ -22,6 +22,7 @@ /* See RFC 2516 */ #include <sys/ioctl.h> +#include <linux/ppp_defs.h> #include <linux/ppp-ioctl.h> #include <net/if.h> #include <netinet/in.h> |