diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2016-08-22 14:32:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-22 19:25:14 -0400 |
commit | 05ee5de7451796cf9a8aeb2f05a57790d4fd2336 (patch) | |
tree | 25ec04bafa22c98945de41a53b9e6f195764bc52 | |
parent | 1fe8e0f074c77aa41aaa579345a9e675acbebfa9 (diff) |
include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h
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 */
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/uapi/linux/if_pppol2tp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/if_pppol2tp.h b/include/uapi/linux/if_pppol2tp.h index 163e8adac2d6..4bd1f55d6377 100644 --- a/include/uapi/linux/if_pppol2tp.h +++ b/include/uapi/linux/if_pppol2tp.h | |||
@@ -16,7 +16,8 @@ | |||
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. |