vpp: Add platform specific headers for socket and inet

Type: improvement
Change-Id: Idcedc14089a49483d83c28a82ecb79d1b856f225
Signed-off-by: Tom Jones <thj@freebsd.org>
This commit is contained in:
Tom Jones
2024-01-30 09:47:05 +00:00
committed by Damjan Marion
parent d1e17a8738
commit 393bfa786c
2 changed files with 10 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */