diff options
-rw-r--r-- | src/vat/json_format.h | 5 | ||||
-rw-r--r-- | src/vpp/api/json_format.h | 5 |
2 files changed, 10 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 */ diff --git a/src/vpp/api/json_format.h b/src/vpp/api/json_format.h index 63217979ccd..3cfb87032e0 100644 --- a/src/vpp/api/json_format.h +++ b/src/vpp/api/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 */ |