Skip to content

Commit 723eb43

Browse files
committed
test: Fix Windows cross build
1 parent b401b09 commit 723eb43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/fuzz/netaddress.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include <cassert>
1111
#include <cstdint>
12-
#include <netinet/in.h>
1312
#include <vector>
1413

1514
FUZZ_TARGET(netaddress)

src/test/fuzz/string.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ FUZZ_TARGET(string)
7878
}
7979
(void)SanitizeString(random_string_1);
8080
(void)SanitizeString(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 3));
81+
#ifndef WIN32
8182
(void)ShellEscape(random_string_1);
83+
#endif // WIN32
8284
int port_out;
8385
std::string host_out;
8486
SplitHostPort(random_string_1, port_out, host_out);

0 commit comments

Comments
 (0)