vpp: Add required socket headers on FreeBSD 55/40355/2
authorTom Jones <thj@freebsd.org>
Tue, 30 Jan 2024 14:04:12 +0000 (14:04 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Sun, 18 Feb 2024 16:01:57 +0000 (16:01 +0000)
Type: improvement
Change-Id: I948e447082233187d9ca794ca56a62fad4592e13
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vpp/app/vpp_prometheus_export.c

index 8246d8d..c6000a8 100644 (file)
 #include <errno.h>
 #include <unistd.h>
 #include <netdb.h>
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#endif /* __FreeBSD__ */
 #include <sys/socket.h>
 #include <vpp-api/client/stat_client.h>
 #include <vlib/vlib.h>