blob: 49a07353df0cb09d363a177640fce3fbdf0a036f [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 18f71c1b48730b8602826517f2b5b088283ae948 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 31 Mar 2017 16:48:00 -0700
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004Subject: [PATCH] sd-lldp.h: Remove net/ethernet.h seems to be over specified
Brad Bishop316dfdd2018-06-25 12:45:53 -04005
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 src/systemd/src/libsystemd-network/sd-lldp.c | 1 +
9 src/systemd/src/systemd/sd-lldp.h | 2 +-
10 2 files changed, 2 insertions(+), 1 deletion(-)
11
12diff --git a/src/systemd/src/libsystemd-network/sd-lldp.c b/src/systemd/src/libsystemd-network/sd-lldp.c
13index 31e2448..7721cc2 100644
14--- a/src/systemd/src/libsystemd-network/sd-lldp.c
15+++ b/src/systemd/src/libsystemd-network/sd-lldp.c
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016@@ -3,6 +3,7 @@
Brad Bishop316dfdd2018-06-25 12:45:53 -040017 #include "nm-sd-adapt.h"
18
19 #include <arpa/inet.h>
20+#include <net/ethernet.h>
21 #include <linux/sockios.h>
22
23 #include "sd-lldp.h"
24diff --git a/src/systemd/src/systemd/sd-lldp.h b/src/systemd/src/systemd/sd-lldp.h
25index 3f35eeb..61b0e45 100644
26--- a/src/systemd/src/systemd/sd-lldp.h
27+++ b/src/systemd/src/systemd/sd-lldp.h
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028@@ -18,7 +18,7 @@
Brad Bishop316dfdd2018-06-25 12:45:53 -040029 ***/
30
31 #include <inttypes.h>
32-#include <net/ethernet.h>
33+//#include <net/ethernet.h>
34 #include <sys/types.h>
35
36 #include "sd-event.h"
37--
382.14.1
39