summaryrefslogtreecommitdiff
path: root/src/libdts
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/libdts
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/libdts')
-rw-r--r--src/libdts/xine_decoder.c4
1 files changed, 3 insertions, 1 deletions
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>