diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-02-08 15:11:07 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-02-08 15:17:48 +0200 |
commit | 723eb4326bac4a3906cbfe278bb6b8bee17e7790 (patch) | |
tree | cc7b3ea782b8a16dd73e90ee9f5fe9e8689987b1 | |
parent | b401b093556f53023d1615f7cff3eb84807c6e8b (diff) |
test: Fix Windows cross build
-rw-r--r-- | src/test/fuzz/netaddress.cpp | 1 | ||||
-rw-r--r-- | src/test/fuzz/string.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/fuzz/netaddress.cpp b/src/test/fuzz/netaddress.cpp index 6e9bb47ff6..a42080eb66 100644 --- a/src/test/fuzz/netaddress.cpp +++ b/src/test/fuzz/netaddress.cpp @@ -9,7 +9,6 @@ #include <cassert> #include <cstdint> -#include <netinet/in.h> #include <vector> FUZZ_TARGET(netaddress) diff --git a/src/test/fuzz/string.cpp b/src/test/fuzz/string.cpp index 282a2cd8ca..d6bbb17f63 100644 --- a/src/test/fuzz/string.cpp +++ b/src/test/fuzz/string.cpp @@ -78,7 +78,9 @@ FUZZ_TARGET(string) } (void)SanitizeString(random_string_1); (void)SanitizeString(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 3)); +#ifndef WIN32 (void)ShellEscape(random_string_1); +#endif // WIN32 int port_out; std::string host_out; SplitHostPort(random_string_1, port_out, host_out); |