aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_vox.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-14 23:36:30 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-14 23:36:30 +0000
commit70cedacdde512d2ed5984eec242c55f3239b73fc (patch)
tree48694f38698e4ead3840305333816193c7fcd8a0 /formats/format_vox.c
parentc60f8a2b8e1551244e674baff85cb1a4f2d5fd5b (diff)
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
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 78afc6598..7601994fd 100755
--- a/formats/format_vox.c
+++ b/formats/format_vox.c
@@ -28,8 +28,12 @@
#ifdef __linux__
#include <endian.h>
#else
+#ifdef SOLARIS
+#include "solaris-compat/compat.h"
+#else
#include <machine/endian.h>
#endif
+#endif
#define BUF_SIZE 80 /* 160 samples */