fix build on Solaris (bug #4476)
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 7 Jun 2005 17:27:31 +0000 (17:27 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 7 Jun 2005 17:27:31 +0000 (17:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5877 65c4cc65-6c06-0410-ace0-fbb531ad65f3

formats/format_au.c

index 4ce708d..9329ac6 100755 (executable)
 #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 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/logger.h"
 #include "asterisk/sched.h"
 #include "asterisk/module.h"
+#include "asterisk/endian.h"
 
 #define BUF_SIZE               160