[Asterisk-cvs] asterisk/formats format_au.c,1.3,1.4

kpfleming at lists.digium.com kpfleming at lists.digium.com
Tue Jun 7 13:25:11 CDT 2005


Update of /usr/cvsroot/asterisk/formats
In directory mongoose.digium.com:/tmp/cvs-serv16842/formats

Modified Files:
	format_au.c 
Log Message:
fix build on Solaris (bug #4476)


Index: format_au.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_au.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- format_au.c	6 Jun 2005 22:12:19 -0000	1.3
+++ format_au.c	7 Jun 2005 17:27:31 -0000	1.4
@@ -16,11 +16,6 @@
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
 
 #include "asterisk.h"
 
@@ -32,6 +27,7 @@
 #include "asterisk/logger.h"
 #include "asterisk/sched.h"
 #include "asterisk/module.h"
+#include "asterisk/endian.h"
 
 #define BUF_SIZE		160
 




More information about the svn-commits mailing list