summaryrefslogtreecommitdiff
path: root/tools/rtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rtp.h')
-rw-r--r--tools/rtp.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/rtp.h b/tools/rtp.h
index b0f7c50b..64234f34 100644
--- a/tools/rtp.h
+++ b/tools/rtp.h
@@ -4,14 +4,23 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: rtp.h,v 1.1 2006-12-14 12:01:40 phintuka Exp $
+ * $Id: rtp.h,v 1.2 2007-03-27 02:33:09 phintuka Exp $
*
*/
#ifndef XINELIBOUTPUT_RTP_H_
#define XINELIBOUTPUT_RTP_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))