diff --git a/main.cpp b/main.cpp index f709407..e3af588 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,7 @@ #include #include +#include #include #include #include @@ -341,6 +342,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);