summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-01-30 14:04:12 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-02-18 16:01:57 +0000
commit646e5d2ad4b6db1cd15d9b2cd84d3a76ca87749d (patch)
tree7121a5838fb2c5bd636a6704e0422a98673db932 /src
parente12f69f7731d4bbb923b7d263179a9d530ce09db (diff)
vpp: Add required socket headers on FreeBSD
Type: improvement Change-Id: I948e447082233187d9ca794ca56a62fad4592e13 Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src')
-rw-r--r--src/vpp/app/vpp_prometheus_export.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vpp/app/vpp_prometheus_export.c b/src/vpp/app/vpp_prometheus_export.c
index 8246d8d1cc2..c6000a8a008 100644
--- a/src/vpp/app/vpp_prometheus_export.c
+++ b/src/vpp/app/vpp_prometheus_export.c
@@ -27,6 +27,11 @@
#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>