Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4f30bc7
)
nat: Include platform specific headers on FreeBSD
85/40385/3
author
Tom Jones
<thj@freebsd.org>
Tue, 30 Jan 2024 16:47:27 +0000
(16:47 +0000)
committer
Ole Tr�an
<otroan@employees.org>
Tue, 26 Mar 2024 15:08:49 +0000
(15:08 +0000)
Type: improvement
Change-Id: I43f59037181ec6b76499e8ee1d82c04670119dc9
Signed-off-by: Tom Jones <thj@freebsd.org>
src/plugins/nat/pnat/tests/pnat_test.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/pnat/tests/pnat_test.c
b/src/plugins/nat/pnat/tests/pnat_test.c
index
f6579dc
..
f515dd6
100644
(file)
--- a/
src/plugins/nat/pnat/tests/pnat_test.c
+++ b/
src/plugins/nat/pnat/tests/pnat_test.c
@@
-25,6
+25,11
@@
#include <vnet/fib/ip4_fib.h>
#include "../pnat.h"
#include <pnat/pnat.api_enum.h> /* For error counters */
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <netinet/in.h>
+#endif /* __FreeBSD__ */
#include <arpa/inet.h>
#include "pnat_test_stubs.h"