Mercurial > mplayer.hg
diff stream/cache2.c @ 31940:f1e3d7471ac8
Fix compilation with gcc 2.95.3 with some help by Reimar.
author | cehoyos |
---|---|
date | Thu, 26 Aug 2010 21:06:24 +0000 |
parents | 73f85fc599e0 |
children | 7459e0a25235 |
line wrap: on
line diff
--- a/stream/cache2.c Thu Aug 26 19:24:18 2010 +0000 +++ b/stream/cache2.c Thu Aug 26 21:06:24 2010 +0000 @@ -366,7 +366,8 @@ static void cache_mainloop(cache_vars_t *s) { int sleep_count = 0; #if FORKED_CACHE - struct sigaction sa = { .sa_handler = SIG_IGN }; + struct sigaction sa = { 0 }; + sa.sa_handler = SIG_IGN; sigaction(SIGUSR1, &sa, NULL); #endif do {