It is not needed and not part of uapi headers, but causes user space compilation error: fatal error: net/tcp.h: No such file or directory #include <net/tcp.h> ^ Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx> Cc: Dave Watson <davejwatson@xxxxxx> Cc: Ilya Lesokhin <ilyal@xxxxxxxxxxxx> Cc: Aviad Yehezkel <aviadye@xxxxxxxxxxxx> --- include/uapi/linux/tls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/tls.h b/include/uapi/linux/tls.h index cc1d21db35d8..d87c698623f2 100644 --- a/include/uapi/linux/tls.h +++ b/include/uapi/linux/tls.h @@ -37,7 +37,9 @@ #include <asm/byteorder.h> #include <linux/socket.h> #include <linux/tcp.h> +#ifdef __KERNEL__ #include <net/tcp.h> +#endif /* TLS socket options */ #define TLS_TX 1 /* Set transmit parameters */ -- 2.13.3 -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html