[systemd-commits] src/libsystemd-network

Tom Gundersen tomegun at kemper.freedesktop.org
Mon Nov 3 03:38:50 PST 2014


 src/libsystemd-network/sd-pppoe.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e8f826f660be22540a84b0ba2947f1eedd7d61d8
Author: Lukas Nykryn <lnykryn at redhat.com>
Date:   Mon Nov 3 12:31:58 2014 +0100

    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

diff --git a/src/libsystemd-network/sd-pppoe.c b/src/libsystemd-network/sd-pppoe.c
index 6f33541..21ddaeb 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>



More information about the systemd-commits mailing list