changeset 34730:6d9ca3bfd020

cfg-common: Only #include libpostproc headers when available.
author diego
date Thu, 15 Mar 2012 15:20:06 +0000
parents d577b2bcd37d
children 03447f79613d
files cfg-common.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Thu Mar 15 15:20:02 2012 +0000
+++ b/cfg-common.h	Thu Mar 15 15:20:06 2012 +0000
@@ -32,7 +32,6 @@
 #include "libmpdemux/demux_viv.h"
 #include "libmpdemux/demuxer.h"
 #include "libmpdemux/mf.h"
-#include "libpostproc/postprocess.h"
 #include "sub/sub.h"
 #include "sub/unrar_exec.h"
 #include "osdep/priority.h"
@@ -50,7 +49,9 @@
 #include "m_option.h"
 #include "mp_msg.h"
 #include "mpcommon.h"
-
+#ifdef CONFIG_POSTPROC
+#include "libpostproc/postprocess.h"
+#endif
 
 
 #ifdef CONFIG_RADIO