aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_vox.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_vox.c')
-rwxr-xr-xformats/format_vox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/formats/format_vox.c b/formats/format_vox.c
index 0a4c7c025..3848f47c0 100755
--- a/formats/format_vox.c
+++ b/formats/format_vox.c
@@ -25,7 +25,11 @@
#include <errno.h>
#include <string.h>
#include <pthread.h>
+#ifdef __linux__
#include <endian.h>
+#else
+#include <machine/endian.h>
+#endif
#define BUF_SIZE 80 /* 160 samples */