diff options
-rw-r--r-- | lib/os_internal.h | 12 | ||||
-rw-r--r-- | src/video_out/video_out_xv.c | 8 |
2 files changed, 13 insertions, 7 deletions
diff --git a/lib/os_internal.h b/lib/os_internal.h index c79448a22..2f6d19779 100644 --- a/lib/os_internal.h +++ b/lib/os_internal.h @@ -1,6 +1,18 @@ #include <stddef.h> #include "os_types.h" +#if defined (__SVR4) && defined (__sun) +# include <sys/int_types.h> + +/* maybe needed for FreeBSD 4-STABLE */ +/* +#elif defined (__FreeBSD__) +# include <stdint.h> +*/ + +#endif + + /* replacement of strndup */ #ifndef HAVE_STRNDUP #define strndup(S, N) _xine_private_strndup((S), (N)) diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index da34ee309..ddc40d8b7 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xv.c,v 1.211 2005/07/29 19:25:43 jstembridge Exp $ + * $Id: video_out_xv.c,v 1.212 2005/07/30 11:26:09 valtri Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -44,12 +44,6 @@ #include <errno.h> #include <math.h> -#if defined (__SVR4) && defined (__sun) -# include <sys/int_types.h> -#else -# include "os_types.h" -#endif - #include <sys/types.h> #if defined(__FreeBSD__) #include <machine/param.h> |