aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat/json_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vat/json_format.h')
-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 */