aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-22 13:11:34 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-22 13:11:34 +0000
commitd6e1341f9b437b0ab1d7f4709459f0a2879b3634 (patch)
tree3bd282f1746371aca6b96c133d25f5e6f5e9df36 /channel.c
parent77ac34c066f3d0e70a59814a9bc88fc5243846e3 (diff)
phase 1 of header include cleanup (bug #4067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
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 */