aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/vd_qtvideo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpcodecs/vd_qtvideo.c b/libmpcodecs/vd_qtvideo.c
index b240b2067e..b25a755bdf 100644
--- a/libmpcodecs/vd_qtvideo.c
+++ b/libmpcodecs/vd_qtvideo.c
@@ -7,8 +7,7 @@
#ifdef MACOSX
#include <QuickTime/ImageCodec.h>
#define dump_ImageDescription(x)
-#else
-#include "qtx/qtxsdk/components.h"
+#endif
#include "wine/windef.h"
@@ -31,6 +30,9 @@ LIBVD_EXTERN(qtvideo)
#include "bswap.h"
+#ifndef MACOSX
+#include "qtx/qtxsdk/components.h"
+
HMODULE WINAPI LoadLibraryA(LPCSTR);
FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
int WINAPI FreeLibrary(HMODULE);