From 61b4efc4dae3f60265ed2b6d8bdcad84b1c4e1cb Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Tue, 30 Jan 2024 09:06:47 +0000 Subject: vnet: Provide platform specific if_tap headers Type: improvement Change-Id: Ia5cec0afc7f929491e495bb337493e64f752d75f Signed-off-by: Tom Jones --- src/vnet/devices/virtio/node.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vnet/devices/virtio/node.c') diff --git a/src/vnet/devices/virtio/node.c b/src/vnet/devices/virtio/node.c index b58c75360e3..b329fdd7719 100644 --- a/src/vnet/devices/virtio/node.c +++ b/src/vnet/devices/virtio/node.c @@ -19,7 +19,11 @@ #include #include #include +#ifdef __linux__ #include +#elif __FreeBSD__ +#include +#endif /* __linux */ #include #include -- cgit 1.2.3-korg