summaryrefslogtreecommitdiff
path: root/src/libdts
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdts')
-rw-r--r--src/libdts/Makefile.am1
-rw-r--r--src/libdts/xine_dts_decoder.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/libdts/Makefile.am b/src/libdts/Makefile.am
index 1329dd49c..b7ec60016 100644
--- a/src/libdts/Makefile.am
+++ b/src/libdts/Makefile.am
@@ -1,3 +1,4 @@
+include $(top_builddir)/misc/Makefile.plugins
include $(top_srcdir)/misc/Makefile.common
if DTS
diff --git a/src/libdts/xine_dts_decoder.c b/src/libdts/xine_dts_decoder.c
index 669ae85da..eba750110 100644
--- a/src/libdts/xine_dts_decoder.c
+++ b/src/libdts/xine_dts_decoder.c
@@ -21,6 +21,10 @@
* 09-12-2001 DTS passthrough inprovements (C) James Courtier-Dutton
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef __sun
/* required for swab() */
#define _XOPEN_SOURCE 500