From 10384d0bbfe86a7339386071123a364241ef234a Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Tue, 26 Oct 2010 09:52:18 +0000 Subject: [PATCH] Compatibility with Asterisk 1.4 --- chan_capi_mwi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chan_capi_mwi.c b/chan_capi_mwi.c index 1e3d22f..b24be99 100644 --- a/chan_capi_mwi.c +++ b/chan_capi_mwi.c @@ -31,7 +31,9 @@ LOCALS */ static unsigned char* time2X208(time_t t); +#if defined(CC_AST_HAS_EVENT_MWI) static void pbx_capi_mwi_event(const struct ast_event *event, void *userdata); +#endif /* MWI command parameters of pbx_capi_mwi