diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch | 237 |
1 files changed, 142 insertions, 95 deletions
diff --git a/meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch b/meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch index abc438e4ba..b689cf1297 100644 --- a/meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch +++ b/meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 47818052121d135632f5e46c369e3e4706a0f9e0 Mon Sep 17 00:00:00 2001 | 1 | From d3ed0da271738fd0fc3d3e4d82d6f5810334b05e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 26 Oct 2017 22:10:42 -0700 | 3 | Date: Thu, 26 Oct 2017 22:10:42 -0700 |
4 | Subject: [PATCH] Include netinet/if_ether.h | 4 | Subject: [PATCH 06/26] Include netinet/if_ether.h |
5 | 5 | ||
6 | Fixes | 6 | Fixes |
7 | /path/to/systemd/recipe-sysroot/usr/include/netinet/if_ether.h:101:8: error: redefinition of 'struct ethhdr' | 7 | /path/to/systemd/recipe-sysroot/usr/include/netinet/if_ether.h:101:8: error: redefinition of 'struct ethhdr' |
@@ -29,7 +29,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
29 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 29 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
30 | [rebased for systemd 243] | 30 | [rebased for systemd 243] |
31 | Signed-off-by: Scott Murray <scott.murray@konsulko.com> | 31 | Signed-off-by: Scott Murray <scott.murray@konsulko.com> |
32 | 32 | [rebased for systemd 247] | |
33 | Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> | ||
33 | --- | 34 | --- |
34 | src/libsystemd-network/sd-dhcp6-client.c | 1 - | 35 | src/libsystemd-network/sd-dhcp6-client.c | 1 - |
35 | src/libsystemd/sd-netlink/netlink-types.c | 1 + | 36 | src/libsystemd/sd-netlink/netlink-types.c | 1 + |
@@ -52,10 +53,10 @@ Signed-off-by: Scott Murray <scott.murray@konsulko.com> | |||
52 | src/udev/udev-builtin-net_setup_link.c | 1 + | 53 | src/udev/udev-builtin-net_setup_link.c | 1 + |
53 | 19 files changed, 18 insertions(+), 4 deletions(-) | 54 | 19 files changed, 18 insertions(+), 4 deletions(-) |
54 | 55 | ||
55 | Index: systemd-stable/src/libsystemd-network/sd-dhcp6-client.c | 56 | diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c |
56 | =================================================================== | 57 | index 30ac526fc9..126077e13c 100644 |
57 | --- systemd-stable.orig/src/libsystemd-network/sd-dhcp6-client.c | 58 | --- a/src/libsystemd-network/sd-dhcp6-client.c |
58 | +++ systemd-stable/src/libsystemd-network/sd-dhcp6-client.c | 59 | +++ b/src/libsystemd-network/sd-dhcp6-client.c |
59 | @@ -5,7 +5,6 @@ | 60 | @@ -5,7 +5,6 @@ |
60 | 61 | ||
61 | #include <errno.h> | 62 | #include <errno.h> |
@@ -64,10 +65,10 @@ Index: systemd-stable/src/libsystemd-network/sd-dhcp6-client.c | |||
64 | #include <linux/if_infiniband.h> | 65 | #include <linux/if_infiniband.h> |
65 | 66 | ||
66 | #include "sd-dhcp6-client.h" | 67 | #include "sd-dhcp6-client.h" |
67 | Index: systemd-stable/src/libsystemd/sd-netlink/netlink-types.c | 68 | diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c |
68 | =================================================================== | 69 | index 6fb6c147d9..8eda02d202 100644 |
69 | --- systemd-stable.orig/src/libsystemd/sd-netlink/netlink-types.c | 70 | --- a/src/libsystemd/sd-netlink/netlink-types.c |
70 | +++ systemd-stable/src/libsystemd/sd-netlink/netlink-types.c | 71 | +++ b/src/libsystemd/sd-netlink/netlink-types.c |
71 | @@ -3,6 +3,7 @@ | 72 | @@ -3,6 +3,7 @@ |
72 | #include <netinet/in.h> | 73 | #include <netinet/in.h> |
73 | #include <stdint.h> | 74 | #include <stdint.h> |
@@ -76,10 +77,10 @@ Index: systemd-stable/src/libsystemd/sd-netlink/netlink-types.c | |||
76 | #include <linux/can/vxcan.h> | 77 | #include <linux/can/vxcan.h> |
77 | #include <linux/netlink.h> | 78 | #include <linux/netlink.h> |
78 | #include <linux/rtnetlink.h> | 79 | #include <linux/rtnetlink.h> |
79 | Index: systemd-stable/src/machine/machine-dbus.c | 80 | diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c |
80 | =================================================================== | 81 | index bb67beb665..f5780f1aec 100644 |
81 | --- systemd-stable.orig/src/machine/machine-dbus.c | 82 | --- a/src/machine/machine-dbus.c |
82 | +++ systemd-stable/src/machine/machine-dbus.c | 83 | +++ b/src/machine/machine-dbus.c |
83 | @@ -3,6 +3,7 @@ | 84 | @@ -3,6 +3,7 @@ |
84 | #include <errno.h> | 85 | #include <errno.h> |
85 | #include <sys/mount.h> | 86 | #include <sys/mount.h> |
@@ -88,66 +89,66 @@ Index: systemd-stable/src/machine/machine-dbus.c | |||
88 | 89 | ||
89 | /* When we include libgen.h because we need dirname() we immediately | 90 | /* When we include libgen.h because we need dirname() we immediately |
90 | * undefine basename() since libgen.h defines it as a macro to the POSIX | 91 | * undefine basename() since libgen.h defines it as a macro to the POSIX |
91 | Index: systemd-stable/src/network/netdev/bond.c | 92 | diff --git a/src/network/netdev/bond.c b/src/network/netdev/bond.c |
92 | =================================================================== | 93 | index e27f36067b..8868f1da5d 100644 |
93 | --- systemd-stable.orig/src/network/netdev/bond.c | 94 | --- a/src/network/netdev/bond.c |
94 | +++ systemd-stable/src/network/netdev/bond.c | 95 | +++ b/src/network/netdev/bond.c |
95 | @@ -1,5 +1,6 @@ | 96 | @@ -1,5 +1,6 @@ |
96 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 97 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
97 | 98 | ||
98 | +#include <netinet/if_ether.h> | 99 | +#include <netinet/if_ether.h> |
99 | #include "alloc-util.h" | 100 | #include "alloc-util.h" |
100 | #include "bond.h" | 101 | #include "bond.h" |
101 | #include "bond-util.h" | 102 | #include "bond-util.h" |
102 | Index: systemd-stable/src/network/netdev/bridge.c | 103 | diff --git a/src/network/netdev/bridge.c b/src/network/netdev/bridge.c |
103 | =================================================================== | 104 | index 1f59cd8b42..5fdbae7e99 100644 |
104 | --- systemd-stable.orig/src/network/netdev/bridge.c | 105 | --- a/src/network/netdev/bridge.c |
105 | +++ systemd-stable/src/network/netdev/bridge.c | 106 | +++ b/src/network/netdev/bridge.c |
106 | @@ -1,5 +1,6 @@ | 107 | @@ -1,5 +1,6 @@ |
107 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 108 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
108 | 109 | ||
109 | +#include <netinet/if_ether.h> | 110 | +#include <netinet/if_ether.h> |
110 | #include <net/if.h> | 111 | #include <net/if.h> |
111 | 112 | ||
112 | #include "bridge.h" | 113 | #include "bridge.h" |
113 | Index: systemd-stable/src/network/netdev/macsec.c | 114 | diff --git a/src/network/netdev/macsec.c b/src/network/netdev/macsec.c |
114 | =================================================================== | 115 | index 82e71c3920..fbae86e216 100644 |
115 | --- systemd-stable.orig/src/network/netdev/macsec.c | 116 | --- a/src/network/netdev/macsec.c |
116 | +++ systemd-stable/src/network/netdev/macsec.c | 117 | +++ b/src/network/netdev/macsec.c |
117 | @@ -1,5 +1,6 @@ | 118 | @@ -1,5 +1,6 @@ |
118 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 119 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
119 | 120 | ||
120 | +#include <netinet/if_ether.h> | 121 | +#include <netinet/if_ether.h> |
121 | #include <netinet/in.h> | 122 | #include <netinet/in.h> |
122 | #include <linux/if_ether.h> | 123 | #include <linux/if_ether.h> |
123 | #include <linux/if_macsec.h> | 124 | #include <linux/if_macsec.h> |
124 | Index: systemd-stable/src/network/netdev/netdev-gperf.gperf | 125 | diff --git a/src/network/netdev/netdev-gperf.gperf b/src/network/netdev/netdev-gperf.gperf |
125 | =================================================================== | 126 | index 4e89761f2c..91251fa6ec 100644 |
126 | --- systemd-stable.orig/src/network/netdev/netdev-gperf.gperf | 127 | --- a/src/network/netdev/netdev-gperf.gperf |
127 | +++ systemd-stable/src/network/netdev/netdev-gperf.gperf | 128 | +++ b/src/network/netdev/netdev-gperf.gperf |
128 | @@ -2,6 +2,7 @@ | 129 | @@ -2,6 +2,7 @@ |
129 | #if __GNUC__ >= 7 | 130 | #if __GNUC__ >= 7 |
130 | _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") | 131 | _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") |
131 | #endif | 132 | #endif |
132 | +#include <netinet/if_ether.h> | 133 | +#include <netinet/if_ether.h> |
133 | #include <stddef.h> | 134 | #include <stddef.h> |
135 | #include "bareudp.h" | ||
134 | #include "bond.h" | 136 | #include "bond.h" |
135 | #include "bridge.h" | 137 | diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c |
136 | Index: systemd-stable/src/network/netdev/netdev.c | 138 | index 9f390b5781..62aeafb1e4 100644 |
137 | =================================================================== | 139 | --- a/src/network/netdev/netdev.c |
138 | --- systemd-stable.orig/src/network/netdev/netdev.c | 140 | +++ b/src/network/netdev/netdev.c |
139 | +++ systemd-stable/src/network/netdev/netdev.c | ||
140 | @@ -1,5 +1,6 @@ | 141 | @@ -1,5 +1,6 @@ |
141 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 142 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
142 | 143 | ||
143 | +#include <netinet/if_ether.h> | 144 | +#include <netinet/if_ether.h> |
144 | #include <net/if.h> | 145 | #include <net/if.h> |
145 | #include <netinet/in.h> | 146 | #include <netinet/in.h> |
146 | #include <unistd.h> | 147 | #include <unistd.h> |
147 | Index: systemd-stable/src/network/networkd-brvlan.c | 148 | diff --git a/src/network/networkd-brvlan.c b/src/network/networkd-brvlan.c |
148 | =================================================================== | 149 | index e53c73c30c..9bf0771b84 100644 |
149 | --- systemd-stable.orig/src/network/networkd-brvlan.c | 150 | --- a/src/network/networkd-brvlan.c |
150 | +++ systemd-stable/src/network/networkd-brvlan.c | 151 | +++ b/src/network/networkd-brvlan.c |
151 | @@ -4,6 +4,7 @@ | 152 | @@ -4,6 +4,7 @@ |
152 | ***/ | 153 | ***/ |
153 | 154 | ||
@@ -156,24 +157,49 @@ Index: systemd-stable/src/network/networkd-brvlan.c | |||
156 | #include <linux/if_bridge.h> | 157 | #include <linux/if_bridge.h> |
157 | #include <stdbool.h> | 158 | #include <stdbool.h> |
158 | 159 | ||
159 | Index: systemd-stable/src/network/networkd-dhcp-common.c | 160 | diff --git a/src/network/networkd-dhcp-common.c b/src/network/networkd-dhcp-common.c |
160 | =================================================================== | 161 | index c338c775a7..ab35d65c53 100644 |
161 | --- systemd-stable.orig/src/network/networkd-dhcp-common.c | 162 | --- a/src/network/networkd-dhcp-common.c |
162 | +++ systemd-stable/src/network/networkd-dhcp-common.c | 163 | +++ b/src/network/networkd-dhcp-common.c |
163 | @@ -5,6 +5,7 @@ | 164 | @@ -1,7 +1,8 @@ |
164 | #include "escape.h" | 165 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
165 | #include "in-addr-util.h" | 166 | |
167 | #include <netinet/in.h> | ||
168 | -#include <linux/if_arp.h> | ||
169 | +#include <net/if_arp.h> | ||
170 | +#include <net/if.h> | ||
171 | |||
172 | #include "dhcp-internal.h" | ||
173 | #include "dhcp6-internal.h" | ||
174 | @@ -10,6 +10,7 @@ | ||
166 | #include "networkd-dhcp-common.h" | 175 | #include "networkd-dhcp-common.h" |
176 | #include "networkd-link.h" | ||
177 | #include "networkd-manager.h" | ||
167 | +#include <netinet/if_ether.h> | 178 | +#include <netinet/if_ether.h> |
168 | #include "networkd-network.h" | 179 | #include "networkd-network.h" |
169 | #include "parse-util.h" | 180 | #include "parse-util.h" |
170 | #include "string-table.h" | 181 | #include "socket-util.h" |
171 | Index: systemd-stable/src/network/networkd-dhcp4.c | 182 | diff --git a/src/network/networkd-dhcp-server.c b/src/network/networkd-dhcp-server.c |
172 | =================================================================== | 183 | index cf279c640d..bae541029b 100644 |
173 | --- systemd-stable.orig/src/network/networkd-dhcp4.c | 184 | --- a/src/network/networkd-dhcp-server.c |
174 | +++ systemd-stable/src/network/networkd-dhcp4.c | 185 | +++ b/src/network/networkd-dhcp-server.c |
186 | @@ -1,8 +1,8 @@ | ||
187 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | ||
188 | |||
189 | #include <netinet/in.h> | ||
190 | -#include <linux/if_arp.h> | ||
191 | -#include <linux/if.h> | ||
192 | +#include <net/if_arp.h> | ||
193 | +#include <net/if.h> | ||
194 | |||
195 | #include "sd-dhcp-server.h" | ||
196 | |||
197 | diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c | ||
198 | index 02d33841b6..a30d8dd82c 100644 | ||
199 | --- a/src/network/networkd-dhcp4.c | ||
200 | +++ b/src/network/networkd-dhcp4.c | ||
175 | @@ -1,9 +1,9 @@ | 201 | @@ -1,9 +1,9 @@ |
176 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 202 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
177 | 203 | ||
178 | +#include <netinet/if_ether.h> | 204 | +#include <netinet/if_ether.h> |
179 | #include <netinet/in.h> | 205 | #include <netinet/in.h> |
@@ -183,10 +209,10 @@ Index: systemd-stable/src/network/networkd-dhcp4.c | |||
183 | 209 | ||
184 | #include "escape.h" | 210 | #include "escape.h" |
185 | #include "alloc-util.h" | 211 | #include "alloc-util.h" |
186 | Index: systemd-stable/src/network/networkd-dhcp6.c | 212 | diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c |
187 | =================================================================== | 213 | index d4d4182ee5..635d08f7d5 100644 |
188 | --- systemd-stable.orig/src/network/networkd-dhcp6.c | 214 | --- a/src/network/networkd-dhcp6.c |
189 | +++ systemd-stable/src/network/networkd-dhcp6.c | 215 | +++ b/src/network/networkd-dhcp6.c |
190 | @@ -3,9 +3,9 @@ | 216 | @@ -3,9 +3,9 @@ |
191 | Copyright © 2014 Intel Corporation. All rights reserved. | 217 | Copyright © 2014 Intel Corporation. All rights reserved. |
192 | ***/ | 218 | ***/ |
@@ -198,12 +224,12 @@ Index: systemd-stable/src/network/networkd-dhcp6.c | |||
198 | 224 | ||
199 | #include "sd-dhcp6-client.h" | 225 | #include "sd-dhcp6-client.h" |
200 | 226 | ||
201 | Index: systemd-stable/src/network/networkd-link.c | 227 | diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c |
202 | =================================================================== | 228 | index ced18de425..07b43770de 100644 |
203 | --- systemd-stable.orig/src/network/networkd-link.c | 229 | --- a/src/network/networkd-link.c |
204 | +++ systemd-stable/src/network/networkd-link.c | 230 | +++ b/src/network/networkd-link.c |
205 | @@ -1,8 +1,8 @@ | 231 | @@ -1,8 +1,8 @@ |
206 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 232 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
207 | 233 | ||
208 | +#include <netinet/if_ether.h> | 234 | +#include <netinet/if_ether.h> |
209 | #include <netinet/in.h> | 235 | #include <netinet/in.h> |
@@ -212,41 +238,59 @@ Index: systemd-stable/src/network/networkd-link.c | |||
212 | #include <linux/if_link.h> | 238 | #include <linux/if_link.h> |
213 | #include <unistd.h> | 239 | #include <unistd.h> |
214 | 240 | ||
215 | Index: systemd-stable/src/network/networkd-network.c | 241 | diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c |
216 | =================================================================== | 242 | index 3254641461..f0ada419fd 100644 |
217 | --- systemd-stable.orig/src/network/networkd-network.c | 243 | --- a/src/network/networkd-network.c |
218 | +++ systemd-stable/src/network/networkd-network.c | 244 | +++ b/src/network/networkd-network.c |
219 | @@ -1,5 +1,6 @@ | 245 | @@ -1,5 +1,6 @@ |
220 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 246 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
221 | 247 | ||
222 | +#include <netinet/if_ether.h> | 248 | +#include <netinet/if_ether.h> |
223 | #include <net/if.h> | 249 | #include <net/if.h> |
224 | #include <netinet/in.h> | 250 | #include <netinet/in.h> |
225 | #include <linux/netdevice.h> | 251 | #include <linux/netdevice.h> |
226 | Index: systemd-stable/src/network/test-network-tables.c | 252 | diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c |
227 | =================================================================== | 253 | index 10f30c1a7e..579885726c 100644 |
228 | --- systemd-stable.orig/src/network/test-network-tables.c | 254 | --- a/src/network/networkd-route.c |
229 | +++ systemd-stable/src/network/test-network-tables.c | 255 | +++ b/src/network/networkd-route.c |
230 | @@ -1,3 +1,4 @@ | 256 | @@ -1,7 +1,10 @@ |
257 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | ||
258 | |||
259 | #include <linux/icmpv6.h> | ||
260 | -#include <linux/ipv6_route.h> | ||
261 | +/* linux/ipv6_route.h conflicts with netinet/in.h so define manually */ | ||
262 | +#ifndef IP6_RT_PRIO_USER | ||
263 | +#define IP6_RT_PRIO_USER 1024 | ||
264 | +#endif | ||
265 | |||
266 | #include "alloc-util.h" | ||
267 | #include "netlink-util.h" | ||
268 | diff --git a/src/network/test-network-tables.c b/src/network/test-network-tables.c | ||
269 | index 475cac7527..9bae6eda16 100644 | ||
270 | --- a/src/network/test-network-tables.c | ||
271 | +++ b/src/network/test-network-tables.c | ||
272 | @@ -1,5 +1,6 @@ | ||
273 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | ||
274 | |||
231 | +#include <netinet/if_ether.h> | 275 | +#include <netinet/if_ether.h> |
232 | #include "bond.h" | 276 | #include "bond.h" |
233 | #include "dhcp6-internal.h" | 277 | #include "dhcp6-internal.h" |
234 | #include "dhcp6-protocol.h" | 278 | #include "dhcp6-protocol.h" |
235 | Index: systemd-stable/src/shared/ethtool-util.c | 279 | diff --git a/src/shared/ethtool-util.c b/src/shared/ethtool-util.c |
236 | =================================================================== | 280 | index e6fab262f2..41dd3d7df7 100644 |
237 | --- systemd-stable.orig/src/shared/ethtool-util.c | 281 | --- a/src/shared/ethtool-util.c |
238 | +++ systemd-stable/src/shared/ethtool-util.c | 282 | +++ b/src/shared/ethtool-util.c |
239 | @@ -1,5 +1,6 @@ | 283 | @@ -1,5 +1,6 @@ |
240 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 284 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
241 | 285 | ||
242 | +#include <netinet/if_ether.h> | 286 | +#include <netinet/if_ether.h> |
243 | #include <net/if.h> | 287 | #include <net/if.h> |
244 | #include <sys/ioctl.h> | 288 | #include <sys/ioctl.h> |
245 | #include <linux/ethtool.h> | 289 | #include <linux/ethtool.h> |
246 | Index: systemd-stable/src/shared/ethtool-util.h | 290 | diff --git a/src/shared/ethtool-util.h b/src/shared/ethtool-util.h |
247 | =================================================================== | 291 | index f94b3e15bf..08a7e4fa09 100644 |
248 | --- systemd-stable.orig/src/shared/ethtool-util.h | 292 | --- a/src/shared/ethtool-util.h |
249 | +++ systemd-stable/src/shared/ethtool-util.h | 293 | +++ b/src/shared/ethtool-util.h |
250 | @@ -3,6 +3,7 @@ | 294 | @@ -3,6 +3,7 @@ |
251 | 295 | ||
252 | #include <macro.h> | 296 | #include <macro.h> |
@@ -255,25 +299,28 @@ Index: systemd-stable/src/shared/ethtool-util.h | |||
255 | #include <linux/ethtool.h> | 299 | #include <linux/ethtool.h> |
256 | 300 | ||
257 | #include "conf-parser.h" | 301 | #include "conf-parser.h" |
258 | Index: systemd-stable/src/udev/net/link-config.c | 302 | diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c |
259 | =================================================================== | 303 | index d12fd0e299..636806dc23 100644 |
260 | --- systemd-stable.orig/src/udev/net/link-config.c | 304 | --- a/src/udev/net/link-config.c |
261 | +++ systemd-stable/src/udev/net/link-config.c | 305 | +++ b/src/udev/net/link-config.c |
262 | @@ -1,5 +1,6 @@ | 306 | @@ -1,5 +1,6 @@ |
263 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 307 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
264 | 308 | ||
265 | +#include <netinet/if_ether.h> | 309 | +#include <netinet/if_ether.h> |
266 | #include <linux/netdevice.h> | 310 | #include <linux/netdevice.h> |
267 | #include <netinet/ether.h> | 311 | #include <netinet/ether.h> |
268 | #include <unistd.h> | 312 | #include <unistd.h> |
269 | Index: systemd-stable/src/udev/udev-builtin-net_setup_link.c | 313 | diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/udev/udev-builtin-net_setup_link.c |
270 | =================================================================== | 314 | index cb12b943fe..5a28c8b563 100644 |
271 | --- systemd-stable.orig/src/udev/udev-builtin-net_setup_link.c | 315 | --- a/src/udev/udev-builtin-net_setup_link.c |
272 | +++ systemd-stable/src/udev/udev-builtin-net_setup_link.c | 316 | +++ b/src/udev/udev-builtin-net_setup_link.c |
273 | @@ -1,5 +1,6 @@ | 317 | @@ -1,5 +1,6 @@ |
274 | /* SPDX-License-Identifier: LGPL-2.1+ */ | 318 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
275 | 319 | ||
276 | +#include <netinet/if_ether.h> | 320 | +#include <netinet/if_ether.h> |
277 | #include "device-util.h" | 321 | #include "device-util.h" |
278 | #include "alloc-util.h" | 322 | #include "alloc-util.h" |
279 | #include "link-config.h" | 323 | #include "link-config.h" |
324 | -- | ||
325 | 2.27.0 | ||
326 | |||