summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-11-03 19:30:04 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-11-03 19:30:04 +0000
commite20c536b385a49a7fcde15e11abcbec5c574c727 (patch)
treedc24fd5471b7f95437836086305555789effccaf /src
parent490ad7fb424d59f9411d6ed30781d74151cdc6d1 (diff)
downloadxine-lib-e20c536b385a49a7fcde15e11abcbec5c574c727.tar.gz
xine-lib-e20c536b385a49a7fcde15e11abcbec5c574c727.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/liba52/xine_decoder.c5
-rw-r--r--src/libdts/xine_decoder.c4
-rw-r--r--src/liblpcm/xine_decoder.c4
3 files changed, 9 insertions, 4 deletions
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 <stdlib.h>
#include <unistd.h>
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 <stdlib.h>
#include <unistd.h>
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 <stdlib.h>
#include <unistd.h>