Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05ee5de7 authored by Mikko Rapeli's avatar Mikko Rapeli Committed by David S. Miller
Browse files

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: default avatarMikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1fe8e0f0
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,8 @@
#define _UAPI__LINUX_IF_PPPOL2TP_H
#define _UAPI__LINUX_IF_PPPOL2TP_H


#include <linux/types.h>
#include <linux/types.h>

#include <linux/in.h>
#include <linux/in6.h>


/* Structure used to connect() the socket to a particular tunnel UDP
/* Structure used to connect() the socket to a particular tunnel UDP
 * socket over IPv4.
 * socket over IPv4.