diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2016-08-22 20:32:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-22 16:25:14 -0700 |
commit | 05ee5de7451796cf9a8aeb2f05a57790d4fd2336 (patch) | |
tree | 25ec04bafa22c98945de41a53b9e6f195764bc52 /include/uapi | |
parent | 1fe8e0f074c77aa41aaa579345a9e675acbebfa9 (diff) | |
download | linux-05ee5de7451796cf9a8aeb2f05a57790d4fd2336.tar.bz2 |
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>
Diffstat (limited to 'include/uapi')
-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 @@ #define _UAPI__LINUX_IF_PPPOL2TP_H #include <linux/types.h> - +#include <linux/in.h> +#include <linux/in6.h> /* Structure used to connect() the socket to a particular tunnel UDP * socket over IPv4. |