aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g729.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_g729.c')
-rwxr-xr-xformats/format_g729.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 5d4aeab4a..ee6f6ab50 100755
--- a/formats/format_g729.c
+++ b/formats/format_g729.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
/* Some Ideas for this code came from makeg729e.c by Jeffery Chilton */