vppinfra: Add netlink header on FreeBSD
[vpp.git] / src / vppinfra / unix-formats.c
index 297a3fd..1a101e0 100644 (file)
@@ -67,7 +67,9 @@
 #include <linux/types.h>
 #include <linux/netlink.h>
 #endif
-#endif
+#elif __FreeBSD__
+#include <netlink/netlink.h>
+#endif /* __linux__ */
 
 #endif /* ! __KERNEL__ */