summaryrefslogtreecommitdiff
path: root/tools/rtcp.h
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-03-27 02:33:09 +0000
committerphintuka <phintuka>2007-03-27 02:33:09 +0000
commit659b1d588de6ea9ffae41ff3eb8d6b3f362f14ff (patch)
tree519bef0b550951df8979cb72d7af3d63b565cc99 /tools/rtcp.h
parenta578af11b34adf00fe12b665ae51bd89d0bfea4b (diff)
downloadxineliboutput-659b1d588de6ea9ffae41ff3eb8d6b3f362f14ff.tar.gz
xineliboutput-659b1d588de6ea9ffae41ff3eb8d6b3f362f14ff.tar.bz2
Use correct endian.h for MAC OS X (Patch from Tero Siironen)
Diffstat (limited to 'tools/rtcp.h')
-rw-r--r--tools/rtcp.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/rtcp.h b/tools/rtcp.h
index 31ae594a..bb09b9e7 100644
--- a/tools/rtcp.h
+++ b/tools/rtcp.h
@@ -4,14 +4,23 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: rtcp.h,v 1.1 2006-12-14 12:01:54 phintuka Exp $
+ * $Id: rtcp.h,v 1.2 2007-03-27 02:33:09 phintuka Exp $
*
*/
#ifndef XINELIBOUTPUT_RTCP_H_
#define XINELIBOUTPUT_RTCP_H_
-#include <endian.h>
+#ifdef __APPLE__
+# ifdef __i386__
+# include <i386/endian.h>
+# else
+# include <ppc/endian.h>
+# endif
+#else
+# include <endian.h>
+#endif
+
#ifndef PACKED
# define PACKED __attribute__((packed))