aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2022-07-01 16:46:13 -0700
committerStephen Hemminger <stephen@networkplumber.org>2022-07-01 16:46:13 -0700
commit6bf5abef42b2a8040cd935aa701d1ffb83f889a2 (patch)
treeb257285cefb64631295d9e345f1b18a7832f9110
parent024103923a5c826e40c993be4ee2ada5536cb66a (diff)
downloadiproute2-6bf5abef42b2a8040cd935aa701d1ffb83f889a2.tar.gz
uapi: update mptcp.h
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--include/uapi/linux/mptcp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/uapi/linux/mptcp.h b/include/uapi/linux/mptcp.h
index 1e07e2d95..f4ef46a1d 100644
--- a/include/uapi/linux/mptcp.h
+++ b/include/uapi/linux/mptcp.h
@@ -2,14 +2,15 @@
#ifndef _MPTCP_H
#define _MPTCP_H
+#include <netinet/in.h> /* for sockaddr_in and sockaddr_in6 */
+#include <sys/socket.h> /* for struct sockaddr */
+
#include <linux/const.h>
#include <linux/types.h>
#include <linux/in.h> /* for sockaddr_in */
#include <linux/in6.h> /* for sockaddr_in6 */
#include <linux/socket.h> /* for sockaddr_storage and sa_family */
-#include <sys/socket.h> /* for struct sockaddr */
-
#define MPTCP_SUBFLOW_FLAG_MCAP_REM _BITUL(0)
#define MPTCP_SUBFLOW_FLAG_MCAP_LOC _BITUL(1)
#define MPTCP_SUBFLOW_FLAG_JOIN_REM _BITUL(2)