From 10ec38c1a935df33c90d40e9563355fe5eec08f9 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Mon, 18 Nov 2013 10:46:20 +0000 Subject: [PATCH 1/1] [D3DX9_36] - Add missing dependency on d3d_idl_headers - Add missing port.h include (fix MSVC warnings). CORE-7538 svn path=/trunk/; revision=61035 --- reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt | 1 + reactos/dll/directx/wine/d3dx9_36/math.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt b/reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt index 72df0342ea7..b4144ac8d37 100644 --- a/reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt +++ b/reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt @@ -26,6 +26,7 @@ list(APPEND SOURCE add_library(d3dx9_36 SHARED ${SOURCE} version.rc) set_module_type(d3dx9_36 win32dll) +add_dependencies(d3dx9_36 d3d_idl_headers) target_link_libraries(d3dx9_36 dxguid wine) add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll) add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all) diff --git a/reactos/dll/directx/wine/d3dx9_36/math.c b/reactos/dll/directx/wine/d3dx9_36/math.c index 72a75169c32..eebba94afc9 100644 --- a/reactos/dll/directx/wine/d3dx9_36/math.c +++ b/reactos/dll/directx/wine/d3dx9_36/math.c @@ -25,6 +25,8 @@ #define NONAMELESSUNION #include +#include "wine/port.h" + //#include "windef.h" //#include "wingdi.h" #include "d3dx9_36_private.h" -- 2.17.1