From 8d23812f7faeb1ab1f397ebf0fdc21593d9b37fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sat, 30 Jul 2005 11:26:09 +0000 Subject: *BUGFIX* Let handle inttypes by config.h, sun specific includes moved to os_internal.h. CVS patchset: 7701 CVS date: 2005/07/30 11:26:09 --- lib/os_internal.h | 12 ++++++++++++ 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 #include "os_types.h" +#if defined (__SVR4) && defined (__sun) +# include + +/* maybe needed for FreeBSD 4-STABLE */ +/* +#elif defined (__FreeBSD__) +# include +*/ + +#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 #include -#if defined (__SVR4) && defined (__sun) -# include -#else -# include "os_types.h" -#endif - #include #if defined(__FreeBSD__) #include -- cgit v1.2.3