aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-01-30 09:47:05 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-02-18 15:53:09 +0000
commit393bfa786c56d50f3452384dbb75c1c49df434e6 (patch)
tree1d05ea4901a786adada7893d008b3f1a47aa91e7 /src/vat
parentd1e17a87389989ccc29dcd94eeef137c8b938606 (diff)
vpp: Add platform specific headers for socket and inet
Type: improvement Change-Id: Idcedc14089a49483d83c28a82ecb79d1b856f225 Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/json_format.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vat/json_format.h b/src/vat/json_format.h
index 71db79eacf5..77128621d21 100644
--- a/src/vat/json_format.h
+++ b/src/vat/json_format.h
@@ -22,6 +22,11 @@
#include <vppinfra/clib.h>
#include <vppinfra/format.h>
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif /* __FreeBSD__ */
#include <netinet/ip.h>
/* JSON value type */