changeset 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 6ccc2a358030
children 7ee3edf8418f
files stream/cache2.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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 {