aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index c23ed71ce..e89891bb1 100755
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -20,7 +20,11 @@
extern "C" {
#endif
+#ifdef __linux__
#include <endian.h>
+#else
+#include <machine/endian.h>
+#endif
#include <sys/types.h>
//! Data structure associated with a single frame of data