diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-12-02 16:27:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-12-03 10:31:05 +0100 |
commit | 9714c020fc4cda1823c2a77e3fd08aefa7d78b25 (patch) | |
tree | a5b89a959d01cbf859922ee45479b0af9977ae3b /src/network | |
parent | sd-boot: remove Stall() call (#11029) (diff) | |
download | systemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.tar.gz systemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.tar.bz2 systemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.zip |
missing: split network related entries
Also adds comments which kernel version added the entries.
Closes #10553.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/netdev/vxcan.c | 6 | ||||
-rw-r--r-- | src/network/netdev/vxcan.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/network/netdev/vxcan.c b/src/network/netdev/vxcan.c index f8139b52c..e8ea70a1e 100644 --- a/src/network/netdev/vxcan.c +++ b/src/network/netdev/vxcan.c @@ -1,7 +1,11 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -#include "netdev/vxcan.h" +#if HAVE_LINUX_CAN_VXCAN_H +#include <linux/can/vxcan.h> +#endif + #include "missing.h" +#include "netdev/vxcan.h" static int netdev_vxcan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *m) { VxCan *v; diff --git a/src/network/netdev/vxcan.h b/src/network/netdev/vxcan.h index 417672c47..b5de19740 100644 --- a/src/network/netdev/vxcan.h +++ b/src/network/netdev/vxcan.h @@ -3,10 +3,6 @@ typedef struct VxCan VxCan; -#if HAVE_VXCAN_INFO_PEER -#include <linux/can/vxcan.h> -#endif - #include "netdev/netdev.h" struct VxCan { |