summaryrefslogtreecommitdiff
path: root/src/plugins/sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sig.c')
-rw-r--r--src/plugins/sig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/sig.c b/src/plugins/sig.c
index 1872d48ff..a9489b019 100644
--- a/src/plugins/sig.c
+++ b/src/plugins/sig.c
@@ -52,7 +52,11 @@ unsigned long (*getuptime)();
char *server_name;
int crash_flag = 0;
+#ifndef __APPLE__
extern const char *strsignal(int);
+#else
+extern char *strsignal(int);
+#endif
int sig_final ();
// by Gabuzomeu