]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: Remove circular header dependencies in network/netdev
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 19 Apr 2025 10:24:47 +0000 (12:24 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 23 Apr 2025 08:33:37 +0000 (10:33 +0200)
src/network/netdev/netdev.h
src/network/netdev/vxlan.c
src/network/netdev/xfrm.c

index 8ab546d1edf637a18968f18d260b5179029d897f..52c1c211983be706f79aa35403b17e5d0fc54687 100644 (file)
@@ -9,7 +9,6 @@
 #include "list.h"
 #include "log-link.h"
 #include "netdev-util.h"
-#include "networkd-link.h"
 #include "time-util.h"
 
 /* Special hardware address value to suppress generating persistent hardware address for the netdev. */
index ca0b4f47205226e8c48548712c917e2c777e02b9..5961c284221c62a8c772f94b96e30cf8ccc0b556 100644 (file)
@@ -8,6 +8,7 @@
 #include "conf-parser.h"
 #include "alloc-util.h"
 #include "extract-word.h"
+#include "networkd-link.h"
 #include "string-table.h"
 #include "string-util.h"
 #include "strv.h"
index 905bfc0bdf03da6af3bd2bcb03c14f040e204915..4a91ab4158bb029281d64d1b85bd3f6d1c640e52 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/if_arp.h>
 
 #include "missing_network.h"
+#include "networkd-link.h"
 #include "xfrm.h"
 
 static int xfrm_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *message) {