aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.mingw4
-rw-r--r--sword2/driver/animation.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.mingw b/Makefile.mingw
index 335360079b..a00947c064 100644
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -38,6 +38,10 @@ EXEEXT :=.exe
# Compile options - you can modify these to tweak ScummVM compilation #
#######################################################################
+# Uncomment this to activate the MPEG2 lib for Broken Sword II cut scenes
+DEFINES += -DUSE_MPEG2
+LIBS += -lmpeg2
+
# Uncomment this to activate the ZLIB lib for compressed save game files
DEFINES += -DUSE_ZLIB
LIBS += -lz
diff --git a/sword2/driver/animation.h b/sword2/driver/animation.h
index 8060303a4c..0f48d9a4b9 100644
--- a/sword2/driver/animation.h
+++ b/sword2/driver/animation.h
@@ -1,6 +1,9 @@
#ifndef ANIMATION_H
#define ANIMATION_H
+#ifndef _MSC_VER
+#include <inttypes.h>
+#endif
#ifdef USE_MPEG2
extern "C" {
#include <mpeg2dec/mpeg2.h>