<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
-<module name="setupapi" type="win32dll" baseaddress="${BASEADDRESS_SETUPAPI}" installbase="system32" installname="setupapi.dll" allowwarnings="true" unicode="yes">
+<module name="setupapi" type="win32dll" baseaddress="${BASEADDRESS_SETUPAPI}" installbase="system32" installname="setupapi.dll" allowwarnings="true" unicode="yes" crt="msvcrt">
<importlibrary definition="setupapi.spec" />
<include base="setupapi">.</include>
<include base="ReactOS">include/reactos/wine</include>
<include base="pnp_client">.</include>
- <define name="__WINESRC__" />
+
+ <!-- FIXME: workarounds until we have a proper oldnames library -->
+ <define name="wcsnicmp">_wcsnicmp</define>
+
<define name="_SETUPAPI_" />
+ <define name="_CFGMGR32_" />
<library>pnp_client</library>
<library>uuid</library>
<library>wine</library>
<library>ntdll</library>
+ <library>gdi32</library>
<library>comctl32</library>
- <library>kernel32</library>
<library>advapi32</library>
<library>user32</library>
<library>rpcrt4</library>
<file>stubs.c</file>
<file>rpc.c</file>
<file>setupapi.rc</file>
- <file>setupapi.spec</file>
</module>