Francois Gouget : include: Add missing include directives to d3d8.
h and d3d9.h.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Nov 9 13:57:15 CST 2006
Module: wine
Branch: master
Commit: 56f7209a949a1805d80ae0a59e093bbe2857677e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=56f7209a949a1805d80ae0a59e093bbe2857677e
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Nov 9 11:29:20 2006 +0100
include: Add missing include directives to d3d8.h and d3d9.h.
---
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>
More information about the wine-cvs
mailing list