From ab1f58864e11810e418b3f69be75481326558de2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 4 Nov 2009 12:27:01 +0100 Subject: [PATCH] wia: Force specifying the correct header version in Wine code. --- dlls/wiaservc/wiaservc_main.c | 2 +- include/wia.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/wiaservc/wiaservc_main.c b/dlls/wiaservc/wiaservc_main.c index 4f9427534b6..2d30f9d869d 100644 --- a/dlls/wiaservc/wiaservc_main.c +++ b/dlls/wiaservc/wiaservc_main.c @@ -25,7 +25,7 @@ #include "olectl.h" #include "winsvc.h" -#include "wia.h" +#include "wia_lh.h" #include "initguid.h" #include "wine/debug.h" diff --git a/include/wia.h b/include/wia.h index 300f28ae57e..3a0497e6d83 100644 --- a/include/wia.h +++ b/include/wia.h @@ -17,6 +17,10 @@ */ +#ifdef __WINESRC__ +#error Specify wia_lh.h or wia_xp.h explicitly in Wine +#endif + #if (_WIN32_WINNT >= 0x0600) #include #elif (_WIN32_WINNT >= 0x0501)