include "asterisk/zapata.h" to get the zaptel headers.
authorLuigi Rizzo <rizzo@icir.org>
Fri, 19 Jan 2007 16:40:25 +0000 (16:40 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Fri, 19 Jan 2007 16:40:25 +0000 (16:40 +0000)
this should be the last one left around...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51299 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index d831c76..71af27f 100644 (file)
@@ -37,10 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <unistd.h>
 #include <math.h>
 
-#ifdef HAVE_ZAPTEL
-#include <sys/ioctl.h>
-#include <zaptel/zaptel.h>
-#endif
+#include "asterisk/zapata.h"
 
 #include "asterisk/pbx.h"
 #include "asterisk/frame.h"