chiark / gitweb /
sd-pppoe: include ppp_defs.h
authorLukas Nykryn <lnykryn@redhat.com>
Mon, 3 Nov 2014 11:31:58 +0000 (12:31 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 3 Nov 2014 11:38:11 +0000 (12:38 +0100)
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

src/libsystemd-network/sd-pppoe.c

index 6f335415046ccc73df7b2e6f3b88e0e11666c4e7..21ddaebdd2943388e80186da88feaa6d12021d0b 100644 (file)
@@ -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>