diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index cdf78895..b47f95fb 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -19,6 +19,7 @@ ***************************************************************************/ #include +#include #include #include @@ -333,6 +334,8 @@ int main(int argc, char *argv[]) string info_title; // local variables end + signal(SIGPIPE, SIG_IGN); + while (!main_exit) { if (!Mpd->Connected())