summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/vxcan.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-12-02 16:27:02 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-03 10:31:05 +0100
commit9714c020fc4cda1823c2a77e3fd08aefa7d78b25 (patch)
treea5b89a959d01cbf859922ee45479b0af9977ae3b /src/network/netdev/vxcan.c
parentsd-boot: remove Stall() call (#11029) (diff)
downloadsystemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.tar.xz
systemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.zip
missing: split network related entries
Also adds comments which kernel version added the entries. Closes #10553.
Diffstat (limited to 'src/network/netdev/vxcan.c')
-rw-r--r--src/network/netdev/vxcan.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/netdev/vxcan.c b/src/network/netdev/vxcan.c
index f8139b52c3..e8ea70a1ed 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;