aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-24 18:05:03 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-24 18:05:03 +0000
commit05eff19e0f159334c01570f0ab2b4eface7d5be0 (patch)
tree5172cb95a817b11613d018266e07fa55ee581516 /apps
parent1e26c98f2a81ed0d6ac807150884ff09282279ee (diff)
Change include order to make compile on Centos 5 with DAHDI
If BIT_TYPES_DEFINED gets defined before linux/types.h is included, the __s32 type doesn't get defined git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@178306 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dahdiras.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c
index 4d2082ace..688b43db9 100644
--- a/apps/app_dahdiras.c
+++ b/apps/app_dahdiras.c
@@ -42,13 +42,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <signal.h>
#endif /* __linux__ */
+#include <dahdi/user.h>
+
#include <fcntl.h>
#ifdef HAVE_CAP
#include <sys/capability.h>
#endif /* HAVE_CAP */
-#include <dahdi/user.h>
-
#include "asterisk/lock.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"