Commit 8772b384 authored by Alexandre Julliard's avatar Alexandre Julliard

tools: Make sure that config.h is included.

parent 004f3677
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
#ifndef __WINE_TOOLS_H #ifndef __WINE_TOOLS_H
#define __WINE_TOOLS_H #define __WINE_TOOLS_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <limits.h> #include <limits.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
#ifndef __WINE_BUILD_H #ifndef __WINE_BUILD_H
#define __WINE_BUILD_H #define __WINE_BUILD_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "../tools.h" #include "../tools.h"
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "winedump.h" #include "winedump.h"
#define EMFSPOOL_VERSION 0x10000 #define EMFSPOOL_VERSION 0x10000
......
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment