From 328bdebba68bd3235a77e80e90864345580f7857 Mon Sep 17 00:00:00 2001 From: twilson Date: Tue, 24 Feb 2009 17:02:20 +0000 Subject: 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 --- apps/app_dahdiras.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps') 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 #include #include + +#include "asterisk/dahdi_compat.h" + #ifdef HAVE_CAP #include #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"; -- cgit v1.2.3