Bug #1222: Fixed
authorMalcolm Davenport <malcolmd@digium.com>
Mon, 15 Mar 2004 23:32:58 +0000 (23:32 +0000)
committerMalcolm Davenport <malcolmd@digium.com>
Mon, 15 Mar 2004 23:32:58 +0000 (23:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2444 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/Makefile

index b7fbb7a..7721af1 100755 (executable)
@@ -43,6 +43,7 @@ ZAPPRI=$(shell [ -f /usr/lib/libpri.so.1 ] && echo "-lpri")
 ZAPR2=$(shell [ -f /usr/lib/libmfcr2.so.1 ] && echo "-lmfcr2")
 CFLAGS+=$(shell [ -f /usr/include/linux/zaptel.h ] && echo "-DIAX_TRUNKING")
 CHANNEL_LIBS+=$(shell [ -f /usr/include/vpbapi.h ] && echo "chan_vpb.so" )
+CFLAGS+=$(shell [ -f /usr/include/vpbapi.h] && echo " -DLINUX")
 
 ALSA_SRC=chan_alsa.c
 ALSA_SRC+=$(shell [ -f alsa-monitor.h ] && echo "alsa-monitor.h")