Skip to content

Commit 458299a

Browse files
committed
Tests: add missing includes
Could not compile tests on FreeBSD otherwise.
1 parent 76ac586 commit 458299a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/unit/core/netflow/tools/MsgGen.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <stdexcept>
55
#include <iomanip>
66
#include <iostream>
7+
#include <netinet/in.h>
8+
#include <sys/socket.h>
79

810
#include <core/netflow2ipfix/netflow_structs.h>
911

tests/unit/core/parser/tools/MsgGen.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <libfds/ipfix_structs.h>
1010
#include <iomanip>
1111
#include <iostream>
12+
#include <netinet/in.h>
13+
#include <sys/socket.h>
1214

1315

1416
#include "MsgGen.h"

0 commit comments

Comments
 (0)