[PATCH] d3dx9: Fix inclusions in some d3dx9 headers

Tony Wasserka tony.wasserka at freenet.de
Wed Mar 4 13:27:49 CST 2009


---
 include/d3dx9core.h   |    4 ++--
 include/d3dx9mesh.h   |    4 ++--
 include/d3dx9shader.h |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/d3dx9core.h b/include/d3dx9core.h
index 9a108fa..b33d8ff 100644
--- a/include/d3dx9core.h
+++ b/include/d3dx9core.h
@@ -16,11 +16,11 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <d3dx9.h>
+
 #ifndef __WINE_D3DX9CORE_H
 #define __WINE_D3DX9CORE_H
 
-#include <d3dx9.h>
-
 /**********************************************
  ***************** Definitions ****************
  **********************************************/
diff --git a/include/d3dx9mesh.h b/include/d3dx9mesh.h
index a85f80d..39ad28a 100644
--- a/include/d3dx9mesh.h
+++ b/include/d3dx9mesh.h
@@ -16,11 +16,11 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <d3dx9.h>
+
 #ifndef __WINE_D3DX9MESH_H
 #define __WINE_D3DX9MESH_H
 
-#include <d3dx9.h>
-
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/include/d3dx9shader.h b/include/d3dx9shader.h
index a50b72a..899077e 100644
--- a/include/d3dx9shader.h
+++ b/include/d3dx9shader.h
@@ -16,11 +16,11 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include "d3dx9.h"
+
 #ifndef __D3DX9SHADER_H__
 #define __D3DX9SHADER_H__
 
-#include "d3dx9.h"
-
 typedef LPCSTR D3DXHANDLE;
 
 typedef enum D3DXPARAMETER_CLASS
-- 
1.5.6.6


--------------030209010009060604010106--



More information about the wine-patches mailing list