summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2016-08-22 20:32:42 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-23 01:25:14 +0200
commit05ee5de7451796cf9a8aeb2f05a57790d4fd2336 (patch)
tree25ec04bafa22c98945de41a53b9e6f195764bc52 /include
parentinclude/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h (diff)
downloadlinux-05ee5de7451796cf9a8aeb2f05a57790d4fd2336.tar.xz
linux-05ee5de7451796cf9a8aeb2f05a57790d4fd2336.zip
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')
-rw-r--r--include/uapi/linux/if_pppol2tp.h3
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.