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)