summaryrefslogtreecommitdiff
path: root/xine_input_vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r--xine_input_vdr.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 0a1134a0..7fd0d0ad 100644
--- a/xine_input_vdr.c
+++ b/xine_input_vdr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.c,v 1.190 2008-11-11 10:16:05 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.191 2008-11-11 11:00:24 phintuka Exp $
*
*/
@@ -48,13 +48,19 @@
#include <xine/buffer.h>
#include <xine/post.h>
-#if XINE_VERSION_CODE >= 10190
-# include <libavutil/mem.h>
-#endif
#ifndef XINE_VERSION_CODE
# error XINE_VERSION_CODE undefined !
#endif
+#if XINE_VERSION_CODE >= 10190
+# include "features.h"
+# ifdef HAVE_LIBAVUTIL
+# include <libavutil/mem.h>
+# else
+# error plugin was configured without libavutil. It can't be compiled against xine-lib 1.2 !
+# endif
+#endif
+
#include "xine_input_vdr.h"
#include "xine_input_vdr_net.h"
#include "xine_osd_command.h"