From 9bf4f8fb5823f108601b50ba4b787f17b854abdc Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Mon, 29 Jan 2024 15:12:34 +0000 Subject: vnet: Use platform specific netlink headers on FreeBSD Type: improvement Change-Id: Ifbd84a45edc82c79ac2850dd70ecdd2f9f1289ae Signed-off-by: Tom Jones --- src/vnet/devices/netlink.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vnet/devices/netlink.c b/src/vnet/devices/netlink.c index da21e9adea1..3fd3e13bf77 100644 --- a/src/vnet/devices/netlink.c +++ b/src/vnet/devices/netlink.c @@ -20,8 +20,13 @@ #include #include +#ifdef __linux__ #include #include +#elif __FreeBSD__ +#include +#include +#endif #include #include -- cgit 1.2.3-korg