[asterisk-commits] twilson: branch 1.6.0 r178306 - /branches/1.6.0/apps/app_dahdiras.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 24 12:05:03 CST 2009


Author: twilson
Date: Tue Feb 24 12:05:03 2009
New Revision: 178306

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=178306
Log:
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

Modified:
    branches/1.6.0/apps/app_dahdiras.c

Modified: branches/1.6.0/apps/app_dahdiras.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/apps/app_dahdiras.c?view=diff&rev=178306&r1=178305&r2=178306
==============================================================================
--- branches/1.6.0/apps/app_dahdiras.c (original)
+++ branches/1.6.0/apps/app_dahdiras.c Tue Feb 24 12:05:03 2009
@@ -42,12 +42,12 @@
 #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"




More information about the asterisk-commits mailing list