diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,7 @@ THE SOFTWARE. #include <assert.h> #include <stdbool.h> #include <limits.h> +#include <signal.h> /* pandora.com library */ #include <piano.h> @@ -337,6 +338,9 @@ int main (int argc, char **argv) { BarTermSetEcho (0); BarTermSetBuffer (0); + /* signals */ + signal (SIGPIPE, SIG_IGN); + /* init some things */ ao_initialize (); gnutls_global_init (); |