summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch
diff options
context:
space:
mode:
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.patch15
1 files changed, 8 insertions, 7 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 855607e6a8..4ce168b6ef 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,4 +1,4 @@
1From d7ae3aadc70555932e03349907f8be04d03a50ee Mon Sep 17 00:00:00 2001 1From 8983334730df280a4e4dcb08e586b453bc1d53bd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 26 Oct 2017 22:10:42 -0700 3Date: Thu, 26 Oct 2017 22:10:42 -0700
4Subject: [PATCH] Include netinet/if_ether.h 4Subject: [PATCH] Include netinet/if_ether.h
@@ -103,7 +103,7 @@ index 5ad396a57e..1dc007fe13 100644
103-#endif /* _UAPI_LINUX_IN6_H */ 103-#endif /* _UAPI_LINUX_IN6_H */
104+#endif /* _LINUX_IN6_H */ 104+#endif /* _LINUX_IN6_H */
105diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c 105diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c
106index e8c47f429a..359922c1b3 100644 106index f99c12620b..4966d62656 100644
107--- a/src/libsystemd-network/sd-dhcp6-client.c 107--- a/src/libsystemd-network/sd-dhcp6-client.c
108+++ b/src/libsystemd-network/sd-dhcp6-client.c 108+++ b/src/libsystemd-network/sd-dhcp6-client.c
109@@ -5,7 +5,6 @@ 109@@ -5,7 +5,6 @@
@@ -274,12 +274,13 @@ index 2b72b618fc..d0d4cfb384 100644
274 #include "sd-dhcp6-client.h" 274 #include "sd-dhcp6-client.h"
275 275
276diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c 276diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
277index 9421ce1aa6..3e37cbcc39 100644 277index d58b700050..bba1ca1cab 100644
278--- a/src/network/networkd-link.c 278--- a/src/network/networkd-link.c
279+++ b/src/network/networkd-link.c 279+++ b/src/network/networkd-link.c
280@@ -1,8 +1,8 @@ 280@@ -1,9 +1,9 @@
281 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 281 /* SPDX-License-Identifier: LGPL-2.1-or-later */
282 282
283 #include <net/if.h>
283+#include <netinet/if_ether.h> 284+#include <netinet/if_ether.h>
284 #include <netinet/in.h> 285 #include <netinet/in.h>
285 #include <linux/if.h> 286 #include <linux/if.h>
@@ -299,7 +300,7 @@ index 850b4f449e..6f85d41328 100644
299 #include <netinet/in.h> 300 #include <netinet/in.h>
300 #include <linux/netdevice.h> 301 #include <linux/netdevice.h>
301diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c 302diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c
302index 77a93beca9..3bf9ae8837 100644 303index b7852f6eec..72514f6a0d 100644
303--- a/src/network/networkd-route.c 304--- a/src/network/networkd-route.c
304+++ b/src/network/networkd-route.c 305+++ b/src/network/networkd-route.c
305@@ -1,5 +1,6 @@ 306@@ -1,5 +1,6 @@
@@ -310,7 +311,7 @@ index 77a93beca9..3bf9ae8837 100644
310 #include <linux/ipv6_route.h> 311 #include <linux/ipv6_route.h>
311 #include <linux/nexthop.h> 312 #include <linux/nexthop.h>
312diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c 313diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c
313index 10c312c480..e44fbb5c35 100644 314index 13c4cedd10..6558d551ab 100644
314--- a/src/network/networkd-setlink.c 315--- a/src/network/networkd-setlink.c
315+++ b/src/network/networkd-setlink.c 316+++ b/src/network/networkd-setlink.c
316@@ -1,8 +1,8 @@ 317@@ -1,8 +1,8 @@
@@ -369,7 +370,7 @@ index 8dfe23691b..e269856337 100644
369 #include <netinet/ether.h> 370 #include <netinet/ether.h>
370 #include <unistd.h> 371 #include <unistd.h>
371diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/udev/udev-builtin-net_setup_link.c 372diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/udev/udev-builtin-net_setup_link.c
372index d40251331c..89566c05f5 100644 373index 5964e30bf1..52a18d7a7f 100644
373--- a/src/udev/udev-builtin-net_setup_link.c 374--- a/src/udev/udev-builtin-net_setup_link.c
374+++ b/src/udev/udev-builtin-net_setup_link.c 375+++ b/src/udev/udev-builtin-net_setup_link.c
375@@ -1,5 +1,6 @@ 376@@ -1,5 +1,6 @@