aboutsummaryrefslogtreecommitdiff
path: root/common/huffman.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/huffman.h')
-rw-r--r--common/huffman.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/huffman.h b/common/huffman.h
index 9c88a37541..5e4ad69325 100644
--- a/common/huffman.h
+++ b/common/huffman.h
@@ -22,6 +22,14 @@
// Based on eos' Huffman code
+#include "common/scummsys.h"
+
+#ifndef USE_BINK
+
+#error "Huffman support disabled because Bink support is disabled"
+
+#else
+
#ifndef COMMON_HUFFMAN_H
#define COMMON_HUFFMAN_H
@@ -75,3 +83,5 @@ private:
} // End of namespace Common
#endif // COMMON_HUFFMAN_H
+
+#endif // USE_BINK