Skip to content

Commit

Permalink
include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mikko Rapeli authored and David S. Miller committed Aug 22, 2016
1 parent 05ee5de commit eafe921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/uapi/linux/if_pppox.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit eafe921

Please sign in to comment.