aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/pnat/tests/pnat_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/pnat/tests/pnat_test.c')
-rw-r--r--src/plugins/nat/pnat/tests/pnat_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/nat/pnat/tests/pnat_test.c b/src/plugins/nat/pnat/tests/pnat_test.c
index f6579dc5ca9..f515dd6d376 100644
--- 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"