[systemd-devel] [PATCH] sd-pppoe: include ppp_defs.h
Tom Gundersen
teg at jklm.no
Mon Nov 3 03:39:13 PST 2014
Applied. Thanks!
Tom
On Mon, Nov 3, 2014 at 12:31 PM, Lukas Nykryn <lnykryn at redhat.com> wrote:
> 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 | 1 +
> 1 file changed, 1 insertion(+)
>
> 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>
> --
> 1.8.3.1
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list