aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv/yuvtorgba.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/fmv/yuvtorgba.h')
-rw-r--r--engines/sword25/fmv/yuvtorgba.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sword25/fmv/yuvtorgba.h b/engines/sword25/fmv/yuvtorgba.h
index 15fa85b7e4..16a403acdd 100644
--- a/engines/sword25/fmv/yuvtorgba.h
+++ b/engines/sword25/fmv/yuvtorgba.h
@@ -36,6 +36,9 @@
#define SWORD25_YUVTORGBA_H
#include "sword25/kernel/common.h"
+#include "sword25/fmv/theora_decoder.h" // for ENABLE_THEORA
+
+#ifdef ENABLE_THEORA
#include <theora/theora.h>
#include <theora/codec.h>
@@ -49,3 +52,5 @@ public:
} // End of namespace Sword25
#endif
+
+#endif