fix build on Solaris (bug #4476)
[asterisk/asterisk.git] / formats / format_au.c
index 4ad1958..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"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
 #include "asterisk/lock.h"
 #include "asterisk/channel.h"
 #include "asterisk/file.h"
 #include "asterisk/logger.h"
 #include "asterisk/sched.h"
 #include "asterisk/module.h"
+#include "asterisk/endian.h"
 
 #define BUF_SIZE               160