X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fprogress.c;h=28ad27de3a010e27b020e46ab926b9cb3b5a5eff;hp=04c7fc5cad831cf59ea96bf44ce6ab21395cdd82;hb=908d7a4bcee5adb7d4768499282cc83075d0332e;hpb=277e840a0f8e3ec8800cfe7407fe3c16000bc622 diff --git a/src/progress.c b/src/progress.c index 04c7fc5c..28ad27de 100644 --- a/src/progress.c +++ b/src/progress.c @@ -36,9 +36,7 @@ so, delete this exception statement from your version. */ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SIGNAL_H -# include -#endif +#include #include "wget.h" #include "progress.h" @@ -956,7 +954,7 @@ bar_set_params (const char *params) } #ifdef SIGWINCH -RETSIGTYPE +void progress_handle_sigwinch (int sig) { received_sigwinch = 1;