From a64f128228a96136d71c5b1bb3d76e67e8993028 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 17 Apr 2012 20:53:29 +0000 Subject: [PATCH] backtrace: stubify on non-linux --- backtrace.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backtrace.c b/backtrace.c index 6da7b69..edc9c99 100644 --- a/backtrace.c +++ b/backtrace.c @@ -1,6 +1,8 @@ -#include #include "atheme.h" +#ifdef __Linux__ +#include + DECLARE_MODULE_V1 ( "contrib/backtrace", false, _modinit, _moddeinit, @@ -34,6 +36,7 @@ void _moddeinit(module_unload_intent_t intent) { signal(SIGSEGV, NULL); } +#endif /* vim:cinoptions=>s,e0,n0,f0,{0,}0,^0,=s,ps,t0,c3,+s,(2s,us,)20,*30,gs,hs * vim:ts=8