aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/911-fix_in_h_include.patch
blob: 42a7b24bbbd3368f048468d5d2f9057d6c91990d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- a/include/linux/in.h
+++ b/include/linux/in.h
@@ -15,6 +15,7 @@
  *		as published by the Free Software Foundation; either version
  *		2 of the License, or (at your option) any later version.
  */
+#ifndef _NETINET_IN_H
 #ifndef _LINUX_IN_H
 #define _LINUX_IN_H
 
@@ -297,3 +298,4 @@ struct sockaddr_in {
 
 
 #endif /* _LINUX_IN_H */
+#endif /* _NETINET_IN_H */
--- a/include/linux/in6.h
+++ b/include/linux/in6.h
@@ -18,6 +18,7 @@
  *      2 of the License, or (at your option) any later version.
  */
 
+#ifndef _NETINET_IN_H
 #ifndef _LINUX_IN6_H
 #define _LINUX_IN6_H
 
@@ -291,3 +292,4 @@ struct in6_flowlabel_req {
  * MRT6_MAX
  */
 #endif /* _LINUX_IN6_H */
+#endif /* _NETINET_IN_H */