summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-04-22 13:11:34 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-04-22 13:11:34 +0000
commit199add9567cb7ca9abf055e2e4c5761f3bdf95bd (patch)
tree3bd282f1746371aca6b96c133d25f5e6f5e9df36 /channel.c
parente1dec7cda6a9c5c3798caa7741bd1829fac6faf8 (diff)
phase 1 of header include cleanup (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/channel.c b/channel.c
index 519281176..9d6007c64 100755
--- a/channel.c
+++ b/channel.c
@@ -19,6 +19,19 @@
#include <errno.h>
#include <unistd.h>
#include <math.h> /* For PI */
+
+#ifdef ZAPTEL_OPTIMIZATIONS
+#include <sys/ioctl.h>
+#ifdef __linux__
+#include <linux/zaptel.h>
+#else
+#include <zaptel.h>
+#endif /* __linux__ */
+#ifndef ZT_TIMERPING
+#error "You need newer zaptel! Please cvs update zaptel"
+#endif
+#endif
+
#include "asterisk/pbx.h"
#include "asterisk/frame.h"
#include "asterisk/sched.h"
@@ -40,17 +53,6 @@
#include "asterisk/lock.h"
#include "asterisk/app.h"
#include "asterisk/transcap.h"
-#ifdef ZAPTEL_OPTIMIZATIONS
-#include <sys/ioctl.h>
-#ifdef __linux__
-#include <linux/zaptel.h>
-#else
-#include <zaptel.h>
-#endif /* __linux__ */
-#ifndef ZT_TIMERPING
-#error "You need newer zaptel! Please cvs update zaptel"
-#endif
-#endif
#include "asterisk.h"
/* uncomment if you have problems with 'monitoring' synchronized files */