include: Add missing include directives to d3d8.h and d3d9.h.
Francois Gouget
fgouget at free.fr
Thu Nov 9 04:29:20 CST 2006
---
include/d3d8.h | 6 ++++++
include/d3d9.h | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/d3d8.h b/include/d3d8.h
index 8b7ea53..3ca310a 100644
--- a/include/d3d8.h
+++ b/include/d3d8.h
@@ -23,9 +23,15 @@ #ifndef DIRECT3D_VERSION
#define DIRECT3D_VERSION 0x0800
#endif
+#include <stdlib.h>
+
#define COM_NO_WINDOWS_H
#include <objbase.h>
+#ifndef __WINESRC__
+# include <windows.h>
+#endif
+
#include <d3d8types.h>
#include <d3d8caps.h>
diff --git a/include/d3d9.h b/include/d3d9.h
index 2575dbe..c6c3004 100644
--- a/include/d3d9.h
+++ b/include/d3d9.h
@@ -24,9 +24,15 @@ #ifndef DIRECT3D_VERSION
#define DIRECT3D_VERSION 0x0900
#endif
+#include <stdlib.h>
+
#define COM_NO_WINDOWS_H
#include <objbase.h>
+#ifndef __WINESRC__
+# include <windows.h>
+#endif
+
#include <d3d9types.h>
#include <d3d9caps.h>
--
1.4.1.1
More information about the wine-patches
mailing list