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