--- a/Main.cpp +++ b/Main.cpp @@ -25,6 +25,7 @@ #include <signal.h> #include <iostream> #include <fstream> +#include <cstring> using namespace PG; using namespace std; --- a/PeerGuard.h +++ b/PeerGuard.h @@ -24,6 +24,7 @@ #include "BlockList.h" #include <ostream> +#include <cstring> namespace PG {