aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-23 20:23:30 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-23 20:23:30 +0000
commitd364248a31a54c13071493c18667572b7c6c42c5 (patch)
treec01b8094cca71bb2183b0eb58d6010d89f3344ed /include
parent51be9a03a601f4b64b883d5c97966041095517b0 (diff)
More include fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@892 f38db490-d61c-443f-a65b-d21fe96a405b
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