From 659b1d588de6ea9ffae41ff3eb8d6b3f362f14ff Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 27 Mar 2007 02:33:09 +0000 Subject: Use correct endian.h for MAC OS X (Patch from Tero Siironen) --- tools/rtcp.h | 13 +++++++++++-- tools/rtp.h | 13 +++++++++++-- tools/sap.h | 13 +++++++++++-- 3 files changed, 33 insertions(+), 6 deletions(-) (limited to 'tools') 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 +#ifdef __APPLE__ +# ifdef __i386__ +# include +# else +# include +# endif +#else +# include +#endif + #ifndef PACKED # define PACKED __attribute__((packed)) 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 +#ifdef __APPLE__ +# ifdef __i386__ +# include +# else +# include +# endif +#else +# include +#endif + #ifndef PACKED # define PACKED __attribute__((packed)) diff --git a/tools/sap.h b/tools/sap.h index c82b3460..f0863f2e 100644 --- a/tools/sap.h +++ b/tools/sap.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: sap.h,v 1.6 2007-03-14 11:46:28 phintuka Exp $ + * $Id: sap.h,v 1.7 2007-03-27 02:33:09 phintuka Exp $ * */ @@ -12,7 +12,16 @@ #define XINELIBOUTPUT_SAP_H_ #include -#include +#ifdef __APPLE__ +# ifdef __i386__ +# include +# else +# include +# endif +#else +# include +#endif + #ifndef PACKED # define PACKED __attribute__((packed)) -- cgit v1.2.3