misc: Add platform specific header on FreeBSD

Type: improvement
Change-Id: Ia23414e87d64567d5124b8297315ed7a426c3651
Signed-off-by: Tom Jones <thj@freebsd.org>
This commit is contained in:
Tom Jones
2024-01-30 16:49:38 +00:00
committed by Damjan Marion
parent 39e7f2e650
commit 8942e07332

View File

@ -16,7 +16,11 @@
*/
#include <sys/socket.h>
#ifdef __linux__
#include <linux/if.h>
#else
#include <net/if.h>
#endif /* __linux__ */
#include <vnet/vnet.h>
#include <vnet/plugin/plugin.h>