]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
arp-util: use net/ethernet.h instead of netinet/if_ether.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Apr 2019 05:36:18 +0000 (14:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 13 Apr 2019 08:51:59 +0000 (17:51 +0900)
The header net/ethernet.h is used at all other places where
'struct ether_addr' is required.

src/libsystemd-network/arp-util.h

index 10c684864b36ff6e47535855547a65091138248b..9a4427e831ac7430c9d309a1978a259666150511 100644 (file)
@@ -5,7 +5,7 @@
   Copyright © 2014 Axis Communications AB. All rights reserved.
 ***/
 
-#include <netinet/if_ether.h>
+#include <net/ethernet.h>
 
 #include "socket-util.h"
 #include "sparse-endian.h"