Add #ifdef to chan_zap.c in case someone updates asterisk but not libpri
authorJames Golovich <james@gnuinter.net>
Sat, 2 Oct 2004 15:04:38 +0000 (15:04 +0000)
committerJames Golovich <james@gnuinter.net>
Sat, 2 Oct 2004 15:04:38 +0000 (15:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index b88baaa..27d26a6 100755 (executable)
@@ -244,8 +244,10 @@ static char idleext[AST_MAX_EXTENSION];
 static char idledial[AST_MAX_EXTENSION];
 static int overlapdial = 0;
 static struct ast_channel inuse = { "GR-303InUse" };
+#ifdef PRI_GETSET_TIMERS
 static int pritimers[PRI_MAX_TIMERS];
 #endif
+#endif
 
 /* Wait up to 16 seconds for first digit (FXO logic) */
 static int firstdigittimeout = 16000;