vpp: Add platform specific headers for socket and inet
[vpp.git] / src / vat / json_format.h
index 71db79e..7712862 100644 (file)
 
 #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 */