summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-24 18:22:43 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-24 18:23:08 +0900
commit8f815e8b0362ca36474233feafb4d1a59c57e08f (patch)
tree7be3381237fd841b4dc1553c9a441fdb44396c69 /src/network
parentd008aae97a56e483e5952bab597543a60e402e1a (diff)
downloadsystemd-8f815e8b0362ca36474233feafb4d1a59c57e08f.tar.gz
systemd-8f815e8b0362ca36474233feafb4d1a59c57e08f.tar.bz2
systemd-8f815e8b0362ca36474233feafb4d1a59c57e08f.zip
tree-wide: drop netinet/ether.h from socket-util.h and sd-netlink.h
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-dhcp4.c1
-rw-r--r--src/network/networkd-dhcp6.c1
-rw-r--r--src/network/networkd-link.c1
-rw-r--r--src/network/networkd-lldp-rx.c1
-rw-r--r--src/network/networkd-lldp-tx.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index f20254fc82..164e46675c 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -2,6 +2,7 @@
#include <netinet/in.h>
#include <linux/if.h>
+#include <linux/if_arp.h>
#include "alloc-util.h"
#include "hostname-util.h"
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index d6262a3885..b20aa78508 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -5,6 +5,7 @@
#include <netinet/in.h>
#include <linux/if.h>
+#include <linux/if_arp.h>
#include "sd-radv.h"
#include "sd-dhcp6-client.h"
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 17829fca9f..61f2bcaaba 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2,6 +2,7 @@
#include <netinet/in.h>
#include <linux/if.h>
+#include <linux/if_arp.h>
#include <unistd.h>
#include "alloc-util.h"
diff --git a/src/network/networkd-lldp-rx.c b/src/network/networkd-lldp-rx.c
index 95018d37a3..0631cc96a0 100644
--- a/src/network/networkd-lldp-rx.c
+++ b/src/network/networkd-lldp-rx.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <net/if.h>
+#include <net/if_arp.h>
#include <unistd.h>
#include "fd-util.h"
diff --git a/src/network/networkd-lldp-tx.c b/src/network/networkd-lldp-tx.c
index 00c4358a0a..6a9e459494 100644
--- a/src/network/networkd-lldp-tx.c
+++ b/src/network/networkd-lldp-tx.c
@@ -3,6 +3,7 @@
#include <endian.h>
#include <inttypes.h>
#include <net/if.h>
+#include <net/if_arp.h>
#include <string.h>
#include "alloc-util.h"