diff --git a/rtpsource/rtpsource.c b/rtpsource/rtpsource.c index d966a4f..fb108bf 100644 --- a/rtpsource/rtpsource.c +++ b/rtpsource/rtpsource.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include @@ -194,9 +195,9 @@ const struct log_info rtpsource_log_info = { struct rtpsource_state *g_rss; static void *g_tall_ctx; -static void signal_handler(int signal) +static void signal_handler(int signum) { - switch (signal) { + switch (signum) { case SIGABRT: /* in case of abort, we want to obtain a talloc report and * then run default SIGABRT handler, who will generate coredump