diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-24 17:02:20 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-24 17:02:20 +0000 |
commit | 328bdebba68bd3235a77e80e90864345580f7857 (patch) | |
tree | 7f297c1a4221066c943f3bc762c54859e586c01d /apps | |
parent | aa748f90483028d08e05074b8a746bf1c4a448dd (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.4@178266 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dahdiras.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c index 4ecaaa018..85fef72ca 100644 --- a/apps/app_dahdiras.c +++ b/apps/app_dahdiras.c @@ -49,6 +49,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <errno.h> #include <stdio.h> #include <fcntl.h> + +#include "asterisk/dahdi_compat.h" + #ifdef HAVE_CAP #include <sys/capability.h> #endif /* HAVE_CAP */ @@ -61,8 +64,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/module.h" #include "asterisk/options.h" -#include "asterisk/dahdi_compat.h" - static char *dahdi_app = "DAHDIRAS"; static char *zap_app = "ZapRAS"; |