History

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 */

Mikko Rapeli committed 10 years ago

Commit 05ee5de1 parent 1fe8e0f1 file · +2 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/if_pppol2tp.h+2−1
@@ -16,7 +16,8 @@ · 15 unmodified lines
1616 #define _UAPI__LINUX_IF_PPPOL2TP_H
1717
1818 #include <linux/types.h>
19−
19+#include <linux/in.h>
20+#include <linux/in6.h>
2021
2122 /* Structure used to connect() the socket to a particular tunnel UDP
2223 * socket over IPv4.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t