diff options
-rw-r--r-- | src/basic/socket-util.h | 2 | ||||
-rw-r--r-- | src/libsystemd-network/arp-util.c | 3 | ||||
-rw-r--r-- | src/libsystemd-network/sd-dhcp6-client.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/sd-ipv4acd.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/test-dhcp6-client.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/test-ipv4ll.c | 1 | ||||
-rw-r--r-- | src/network/networkd-dhcp4.c | 1 | ||||
-rw-r--r-- | src/network/networkd-dhcp6.c | 1 | ||||
-rw-r--r-- | src/network/networkd-link.c | 1 | ||||
-rw-r--r-- | src/network/networkd-lldp-rx.c | 1 | ||||
-rw-r--r-- | src/network/networkd-lldp-tx.c | 1 | ||||
-rw-r--r-- | src/systemd/sd-netlink.h | 1 |
12 files changed, 12 insertions, 3 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index 36ec422f2c..48a22415df 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -3,9 +3,9 @@ #include <inttypes.h> #include <linux/netlink.h> +#include <linux/if_ether.h> #include <linux/if_infiniband.h> #include <linux/if_packet.h> -#include <netinet/ether.h> #include <netinet/in.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/libsystemd-network/arp-util.c b/src/libsystemd-network/arp-util.c index 3a86f3f077..ac601a4efa 100644 --- a/src/libsystemd-network/arp-util.c +++ b/src/libsystemd-network/arp-util.c @@ -3,8 +3,9 @@ Copyright © 2014 Axis Communications AB. All rights reserved. ***/ -#include <linux/filter.h> #include <arpa/inet.h> +#include <linux/filter.h> +#include <netinet/if_ether.h> #include "arp-util.h" #include "fd-util.h" diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c index 68b41dfb6c..d7a5349c70 100644 --- a/src/libsystemd-network/sd-dhcp6-client.c +++ b/src/libsystemd-network/sd-dhcp6-client.c @@ -6,6 +6,7 @@ #include <errno.h> #include <string.h> #include <sys/ioctl.h> +#include <linux/if_arp.h> #include <linux/if_infiniband.h> #include "sd-dhcp6-client.h" diff --git a/src/libsystemd-network/sd-ipv4acd.c b/src/libsystemd-network/sd-ipv4acd.c index d960027a0f..5a24f38ae9 100644 --- a/src/libsystemd-network/sd-ipv4acd.c +++ b/src/libsystemd-network/sd-ipv4acd.c @@ -5,6 +5,7 @@ #include <arpa/inet.h> #include <errno.h> +#include <netinet/if_ether.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/libsystemd-network/test-dhcp6-client.c b/src/libsystemd-network/test-dhcp6-client.c index 00056aa9e2..0983d7b51b 100644 --- a/src/libsystemd-network/test-dhcp6-client.c +++ b/src/libsystemd-network/test-dhcp6-client.c @@ -4,6 +4,7 @@ ***/ #include <net/ethernet.h> +#include <net/if_arp.h> #include <stdbool.h> #include <stdio.h> #include <sys/socket.h> diff --git a/src/libsystemd-network/test-ipv4ll.c b/src/libsystemd-network/test-ipv4ll.c index 2e1488cb0a..156718f209 100644 --- a/src/libsystemd-network/test-ipv4ll.c +++ b/src/libsystemd-network/test-ipv4ll.c @@ -4,6 +4,7 @@ ***/ #include <errno.h> +#include <netinet/if_ether.h> #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> 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" diff --git a/src/systemd/sd-netlink.h b/src/systemd/sd-netlink.h index b0a51185e9..33cd82ba5a 100644 --- a/src/systemd/sd-netlink.h +++ b/src/systemd/sd-netlink.h @@ -19,7 +19,6 @@ #include <inttypes.h> #include <net/ethernet.h> -#include <netinet/ether.h> #include <netinet/in.h> #include <linux/neighbour.h> #include <linux/rtnetlink.h> |