diff options
author | phintuka <phintuka> | 2007-03-08 13:17:34 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-03-08 13:17:34 +0000 |
commit | e76bea8bf36774645e73a448c23c48b55feaf7ca (patch) | |
tree | cc8ab5d48951cfc2ca190989c34e980beea6a357 | |
parent | 18cf72585d400255e761dfa95f545734bee89c14 (diff) | |
download | xineliboutput-e76bea8bf36774645e73a448c23c48b55feaf7ca.tar.gz xineliboutput-e76bea8bf36774645e73a448c23c48b55feaf7ca.tar.bz2 |
Mac OS X compability fix (patch by Tero Siironen)
-rw-r--r-- | xine_input_vdr_net.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/xine_input_vdr_net.h b/xine_input_vdr_net.h index eeac21a6..2280d448 100644 --- a/xine_input_vdr_net.h +++ b/xine_input_vdr_net.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr_net.h,v 1.7 2007-01-02 01:39:26 phintuka Exp $ + * $Id: xine_input_vdr_net.h,v 1.8 2007-03-08 13:17:34 phintuka Exp $ * */ @@ -12,7 +12,15 @@ #define __XINE_INPUT_VDR_NET_H_ #include <arpa/inet.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)) |