Bang Jun-Young : msxml3: config.h police.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 22 07:05:35 CST 2007


Module: wine
Branch: master
Commit: 45e8e360cd6e90aecfac54a9a2453da2407fffeb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=45e8e360cd6e90aecfac54a9a2453da2407fffeb

Author: Bang Jun-Young <junyoung at mogua.com>
Date:   Sat Jan 20 17:19:55 2007 +0900

msxml3: config.h police.

---

 dlls/msxml3/factory.c       |    2 ++
 dlls/msxml3/msxml_private.h |    4 ++++
 dlls/msxml3/parseerror.c    |    2 ++
 dlls/msxml3/regsvr.c        |    2 ++
 4 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
index 53d59d1..f4dc2cc 100644
--- a/dlls/msxml3/factory.c
+++ b/dlls/msxml3/factory.c
@@ -21,6 +21,8 @@
 
 #define COBJMACROS
 
+#include "config.h"
+
 #include <stdarg.h>
 #include "windef.h"
 #include "winbase.h"
diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h
index e9a6da7..9fb96ca 100644
--- a/dlls/msxml3/msxml_private.h
+++ b/dlls/msxml3/msxml_private.h
@@ -21,6 +21,10 @@
 #ifndef __MSXML_PRIVATE__
 #define __MSXML_PRIVATE__
 
+#ifndef __WINE_CONFIG_H
+# error You must include config.h to use this header
+#endif
+
 #ifdef HAVE_LIBXML2
 
 #ifdef HAVE_LIBXML_PARSER_H
diff --git a/dlls/msxml3/parseerror.c b/dlls/msxml3/parseerror.c
index 0680103..f70ed52 100644
--- a/dlls/msxml3/parseerror.c
+++ b/dlls/msxml3/parseerror.c
@@ -21,6 +21,8 @@
 
 #define COBJMACROS
 
+#include "config.h"
+
 #include <stdarg.h>
 #include <assert.h>
 #include "windef.h"
diff --git a/dlls/msxml3/regsvr.c b/dlls/msxml3/regsvr.c
index 3686590..5648e1e 100644
--- a/dlls/msxml3/regsvr.c
+++ b/dlls/msxml3/regsvr.c
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include "config.h"
+
 #include <stdarg.h>
 #include <string.h>
 




More information about the wine-cvs mailing list