diff options
Diffstat (limited to 'fbench/src/test')
-rw-r--r-- | fbench/src/test/clientstatus.cpp | 3 | ||||
-rw-r--r-- | fbench/src/test/httpclient.cpp | 2 | ||||
-rw-r--r-- | fbench/src/test/httpclient_splitstring.cpp | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fbench/src/test/clientstatus.cpp b/fbench/src/test/clientstatus.cpp index 751c578e4d3..c8b7bce1a34 100644 --- a/fbench/src/test/clientstatus.cpp +++ b/fbench/src/test/clientstatus.cpp @@ -1,7 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <util/timer.h> -#include <util/filereader.h> -#include <httpclient/httpclient.h> +#include <util/clientstatus.h> #include <fbench/client.h> int diff --git a/fbench/src/test/httpclient.cpp b/fbench/src/test/httpclient.cpp index 31e3f8297c4..4201da68b97 100644 --- a/fbench/src/test/httpclient.cpp +++ b/fbench/src/test/httpclient.cpp @@ -49,6 +49,6 @@ main(int argc, char **argv) } else { printf("ERROR: could not fetch URL content.\n"); } - printf("REUSE COUNT: %" PRIu64 "\n", client->GetReuseCount()); + printf("REUSE COUNT: %zu\n", client->GetReuseCount()); return 0; } diff --git a/fbench/src/test/httpclient_splitstring.cpp b/fbench/src/test/httpclient_splitstring.cpp index 655738170bd..d766b0f8f4b 100644 --- a/fbench/src/test/httpclient_splitstring.cpp +++ b/fbench/src/test/httpclient_splitstring.cpp @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <httpclient/httpclient.h> +#include <cstring> class DebugHTTPClient : public HTTPClient { |