History

uapi: fix linux/tls.h userspace compilation error

Move inclusion of a private kernel header <net/tcp.h> from uapi/linux/tls.h to its only user - net/tls.h, to fix the following linux/tls.h userspace compilation error: /usr/include/linux/tls.h:41:21: fatal error: net/tcp.h: No such file or directory As to this point uapi/linux/tls.h was totaly unusuable for userspace, cleanup this header file further by moving other redundant includes to net/tls.h.

Dmitry V. Levin committed 9 years ago

Commit b9f3eb41 parent bb1b40c2 files · +4 −4Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/tls.h+0−4
@@ -35,10 +35,6 @@ · 34 unmodified lines
3535 #define _UAPI_LINUX_TLS_H
3636
3737 #include <linux/types.h>
38−#include <asm/byteorder.h>
39−#include <linux/socket.h>
40−#include <linux/tcp.h>
41−#include <net/tcp.h>
4238
4339 /* TLS socket options */
4440 #define TLS_TX 1 /* Set transmit parameters */