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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -35,10 +35,6 @@ · 34 unmodified lines | |||
| 35 | #define _UAPI_LINUX_TLS_H | 35 | #define _UAPI_LINUX_TLS_H |
| 36 | 36 | ||
| 37 | #include <linux/types.h> | 37 | #include <linux/types.h> |
| 38 | #include <asm/byteorder.h> | ||
| 39 | #include <linux/socket.h> | ||
| 40 | #include <linux/tcp.h> | ||
| 41 | #include <net/tcp.h> | ||
| 42 | 38 | ||
| 43 | /* TLS socket options */ | 39 | /* TLS socket options */ |
| 44 | #define TLS_TX 1 /* Set transmit parameters */ | 40 | #define TLS_TX 1 /* Set transmit parameters */ |