summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_pppox.h
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2016-08-22 20:32:43 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-22 16:25:15 -0700
commiteafe92114308acf14e45c6c3d154a5dad5523d1a (patch)
treedfc09212d3e827d5c0be3b02f764b5d076cad5f6 /include/uapi/linux/if_pppox.h
parent05ee5de7451796cf9a8aeb2f05a57790d4fd2336 (diff)
downloadblackbird-obmc-linux-eafe92114308acf14e45c6c3d154a5dad5523d1a.tar.gz
blackbird-obmc-linux-eafe92114308acf14e45c6c3d154a5dad5523d1a.zip
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/if_pppox.h')
-rw-r--r--include/uapi/linux/if_pppox.h2
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__
OpenPOWER on IntegriCloud