Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e12f69f
)
vpp: Add required socket headers on FreeBSD
55/40355/2
author
Tom Jones
<thj@freebsd.org>
Tue, 30 Jan 2024 14:04:12 +0000
(14:04 +0000)
committer
Damjan 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
patch
|
blob
|
history
diff --git
a/src/vpp/app/vpp_prometheus_export.c
b/src/vpp/app/vpp_prometheus_export.c
index
8246d8d
..
c6000a8
100644
(file)
--- 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>