Skip to content

Commit cccb0c2

Browse files
committed
include: upstream: always include the local copy
The platform one might not be up-to-date: it seems better to always include the local copy which is synced with the supported features. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent 6a8a62c commit cccb0c2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

include/mptcpd/private/mptcp_upstream.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@
1616
# include "mptcpd/private/config.h"
1717
#endif
1818

19-
#ifdef HAVE_LINUX_MPTCP_H_UPSTREAM
20-
# include <linux/mptcp.h>
21-
#else
2219
/*
23-
Platform does not have upstream MPTCP path mangement generic netlink
24-
API so include local copy of the upstream <linux/mptcp.h> header.
20+
Platform might have upstream MPTCP path mangement generic netlink API, but
21+
always include a local copy which is synced with the supported features.
2522
*/
26-
# include "linux/mptcp_upstream.h"
27-
#endif // HAVE_LINUX_MPTCP_H_UPSTREAM
23+
#include "linux/mptcp_upstream.h"
2824

2925
#endif // MPTCPD_PRIVATE_MPTCP_UPSTREAM_H

0 commit comments

Comments
 (0)