d3dx9_36-DXTn: Fix build failure.

The fix in 78156b2 was incomplete, the build now fails with "config.h must be included before anything else".
This commit is contained in:
Sebastian Lackner 2014-12-11 04:44:51 +01:00
parent 78156b24d4
commit 50db62e9f4

View File

@ -1,4 +1,4 @@
From 6773fab0b632916e095756834c29b126354148a1 Mon Sep 17 00:00:00 2001
From 0808d72ca1d94c68fcf07379195e086d24383d43 Mon Sep 17 00:00:00 2001
From: Christian Costa <titan.costa@gmail.com>
Date: Sat, 1 Nov 2014 13:08:05 +0100
Subject: d3dx9_36: Add dxtn support.
@ -21,14 +21,21 @@ index 5958c57..aa387b5 100644
C_SRCS = \
core.c \
diff --git a/dlls/d3dx9_36/surface.c b/dlls/d3dx9_36/surface.c
index f187031..a8c4136 100644
index f187031..9a1e1cb 100644
--- a/dlls/d3dx9_36/surface.c
+++ b/dlls/d3dx9_36/surface.c
@@ -26,6 +26,9 @@
@@ -18,6 +18,7 @@
*
*/
+#include "config.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "d3dx9_36_private.h"
@@ -26,6 +27,8 @@
#include "ole2.h"
#include "wincodec.h"
+#include "config.h"
+#include "wine/wined3d.h"
+
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
@ -175,5 +182,5 @@ index f187031..a8c4136 100644
/************************************************************
--
1.9.1
2.1.3