From a31e7b7967a1792aca5740e1a06333e3b5ed1d4e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 12 Oct 2021 17:39:05 +0200 Subject: [PATCH] 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 --- ip/ipmptcp.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ip/ipmptcp.c b/ip/ipmptcp.c index fd042da8..0f5b6e2d 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) {