diff --git a/cli-miner.cpp b/cli-miner.cpp index 2dc5173..45d2c16 100644 --- a/cli-miner.cpp +++ b/cli-miner.cpp @@ -41,7 +41,7 @@ #include #include -#include +#include #ifndef CONF_NO_TLS #include @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) OpenSSL_add_all_digests(); #endif - std::srand(std::time(0)); + srand(time(0)); const char* sFilename = "config.txt"; bool benchmark_mode = false;