diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2016-08-22 21:32:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-23 02:25:15 +0300 |
commit | eafe92114308acf14e45c6c3d154a5dad5523d1a (patch) | |
tree | dfc09212d3e827d5c0be3b02f764b5d076cad5f6 /include/uapi/linux | |
parent | 05ee5de7451796cf9a8aeb2f05a57790d4fd2336 (diff) | |
download | linux-eafe92114308acf14e45c6c3d154a5dad5523d1a.tar.xz |
include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h
Fixes userspace compilation errors:
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/linux')
-rw-r--r-- | include/uapi/linux/if_pppox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h index 473c3c45e3d8..d37bbb17a007 100644 --- a/include/uapi/linux/if_pppox.h +++ b/include/uapi/linux/if_pppox.h @@ -24,6 +24,8 @@ #include <linux/if.h> #include <linux/if_ether.h> #include <linux/if_pppol2tp.h> +#include <linux/in.h> +#include <linux/in6.h> /* For user-space programs to pick up these definitions * which they wouldn't get otherwise without defining __KERNEL__ |