summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-05-09 02:33:45 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-05-09 03:21:31 +0200
commit9aa5d8ba8492a9ed84cf93fc10140206b58ec84d (patch)
treefe0204c21b73e1d3f754da35cd860aedd82a5abf /src/network/networkd-dhcp4.c
parentnetwork: drop arpa/inet.h from networkd-manager.h (diff)
downloadsystemd-9aa5d8ba8492a9ed84cf93fc10140206b58ec84d.tar.xz
systemd-9aa5d8ba8492a9ed84cf93fc10140206b58ec84d.zip
network: include glibc headers before including kernel headers
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r--src/network/networkd-dhcp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index 01f4e955c8..eaf7fb0427 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <netinet/ether.h>
+#include <netinet/in.h>
#include <linux/if.h>
#include "alloc-util.h"