Fixes userspace compilation errors like: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ ^ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -16,7 +16,8 @@ · 15 unmodified lines | |||
| 16 | #define _UAPI__LINUX_IF_PPPOL2TP_H | 16 | #define _UAPI__LINUX_IF_PPPOL2TP_H |
| 17 | 17 | ||
| 18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
| 19 | 19 | #include <linux/in.h> | |
| 20 | #include <linux/in6.h> | ||
| 20 | 21 | ||
| 21 | /* Structure used to connect() the socket to a particular tunnel UDP | 22 | /* Structure used to connect() the socket to a particular tunnel UDP |
| 22 | * socket over IPv4. | 23 | * socket over IPv4. |