From e20c536b385a49a7fcde15e11abcbec5c574c727 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 3 Nov 2004 19:30:04 +0000 Subject: prevent compiler warnings from the new monotonic clock in xineutils.h meeting the _XOPEN_SOURCE define in some files CVS patchset: 7103 CVS date: 2004/11/03 19:30:04 --- src/liba52/xine_decoder.c | 5 +++-- src/libdts/xine_decoder.c | 4 +++- src/liblpcm/xine_decoder.c | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_decoder.c index c21c41adb..a8ec8edd0 100644 --- a/src/liba52/xine_decoder.c +++ b/src/liba52/xine_decoder.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: xine_decoder.c,v 1.70 2004/04/26 17:50:07 mroi Exp $ + * $Id: xine_decoder.c,v 1.71 2004/11/03 19:30:04 mroi Exp $ * * stuff needed to turn liba52 into a xine decoder plugin */ @@ -26,7 +26,8 @@ /* required for swab() */ #define _XOPEN_SOURCE 500 #endif - +/* avoid compiler warnings */ +#define _BSD_SOURCE 1 #include #include diff --git a/src/libdts/xine_decoder.c b/src/libdts/xine_decoder.c index 0242d2e27..d2a69893d 100644 --- a/src/libdts/xine_decoder.c +++ b/src/libdts/xine_decoder.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: xine_decoder.c,v 1.58 2004/08/06 21:51:44 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.59 2004/11/03 19:30:05 mroi Exp $ * * 04-09-2001 DTS passtrough (C) Joachim Koenig * 09-12-2001 DTS passthrough inprovements (C) James Courtier-Dutton @@ -28,6 +28,8 @@ /* required for swab() */ #define _XOPEN_SOURCE 500 #endif +/* avoid compiler warnings */ +#define _BSD_SOURCE 1 #include #include diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c index 3799c9eca..bc8f8c15b 100644 --- a/src/liblpcm/xine_decoder.c +++ b/src/liblpcm/xine_decoder.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: xine_decoder.c,v 1.53 2004/07/17 21:00:30 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.54 2004/11/03 19:30:05 mroi Exp $ * * 31-8-2001 Added LPCM rate sensing. * (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk @@ -26,6 +26,8 @@ #ifndef __sun #define _XOPEN_SOURCE 500 #endif +/* avoid compiler warnings */ +#define _BSD_SOURCE 1 #include #include -- cgit v1.2.3