diff options
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 68da96b44..74ad90694 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -66,8 +66,13 @@ struct rspamd_fuzzy_node { uint64_t time; }; +#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: |