diff --git a/main.cpp b/main.cpp index 202b3ed..8a639fd 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,7 @@ #include #include +#include #include #include #include @@ -333,6 +334,7 @@ extern "C" void* ThreadSeeder(void*) { } int main(int argc, char **argv) { + signal(SIGPIPE, SIG_IGN); setbuf(stdout, NULL); CDnsSeedOpts opts; opts.ParseCommandLine(argc, argv);