diff options
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c index 64ef75d59..d59690da2 100644 --- a/src/controller.c +++ b/src/controller.c @@ -86,9 +86,13 @@ extern rspamd_hash_t *counters; static gboolean controller_write_socket (void *arg); -static - void +#ifndef HAVE_SA_SIGINFO +static void sig_handler (int signo) +#else +static void +sig_handler (int signo, siginfo_t *info, void *unused) +#endif { switch (signo) { case SIGINT: |