From: Stephen Hemminger Date: Tue, 12 Oct 2021 15:39:05 +0000 (+0200) Subject: mptcp: cleanup include section. X-Git-Tag: v5.16.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a31e7b7967a1792aca5740e1a06333e3b5ed1d4e;p=thirdparty%2Fiproute2.git mptcp: cleanup include section. David reported ipmptcp breaks hard the build when updating the relevant kernel headers. We should be more careful in the header section, explicitly including all the required dependencies respecting the usual order between systems and local headers. Stephen Hemminger Signed-off-by: Paolo Abeni Signed-off-by: David Ahern --- diff --git a/ip/ipmptcp.c b/ip/ipmptcp.c index fd042da8a..0f5b6e2d0 100644 --- a/ip/ipmptcp.c +++ b/ip/ipmptcp.c @@ -1,17 +1,23 @@ // SPDX-License-Identifier: GPL-2.0 +#include +#include +#include #include +#include #include -#include -#include #include +#include +#include #include #include "utils.h" #include "ip_common.h" -#include "libgenl.h" #include "json_print.h" +#include "libgenl.h" +#include "libnetlink.h" +#include "ll_map.h" static void usage(void) {