diff options
| author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2016-08-22 14:32:43 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-08-22 19:25:15 -0400 |
| commit | eafe92114308acf14e45c6c3d154a5dad5523d1a (patch) | |
| tree | dfc09212d3e827d5c0be3b02f764b5d076cad5f6 /include/uapi/linux | |
| parent | 05ee5de7451796cf9a8aeb2f05a57790d4fd2336 (diff) | |
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 @@ | |||
| 24 | #include <linux/if.h> | 24 | #include <linux/if.h> |
| 25 | #include <linux/if_ether.h> | 25 | #include <linux/if_ether.h> |
| 26 | #include <linux/if_pppol2tp.h> | 26 | #include <linux/if_pppol2tp.h> |
| 27 | #include <linux/in.h> | ||
| 28 | #include <linux/in6.h> | ||
| 27 | 29 | ||
| 28 | /* For user-space programs to pick up these definitions | 30 | /* For user-space programs to pick up these definitions |
| 29 | * which they wouldn't get otherwise without defining __KERNEL__ | 31 | * which they wouldn't get otherwise without defining __KERNEL__ |
