diff --git a/tools/winedump/output.c b/tools/winedump/output.c index 22185e1bcc3..ea11de4a1d9 100644 --- a/tools/winedump/output.c +++ b/tools/winedump/output.c @@ -145,8 +145,8 @@ void output_header_preamble (void) fprintf (hfile, "/*\n * %s.dll\n *\n * Generated from %s.dll by winedump.\n *\n" " * DO NOT SEND GENERATED DLLS FOR INCLUSION INTO WINE !\n * \n */" - "\n#ifndef __WINE_%s_DLL_H\n#define __WINE_%s_DLL_H\n\n#include " - "\"config.h\"\n#include \"windef.h\"\n#include \"wine/debug.h\"\n" + "\n#ifndef __WINE_%s_DLL_H\n#define __WINE_%s_DLL_H\n\n" + "#include \"windef.h\"\n#include \"wine/debug.h\"\n" "#include \"winbase.h\"\n#include \"winnt.h\"\n\n\n", OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_UC_DLL_NAME, OUTPUT_UC_DLL_NAME); @@ -211,7 +211,8 @@ void output_c_preamble (void) fprintf (cfile, "/*\n * %s.dll\n *\n * Generated from %s by winedump.\n *\n" " * DO NOT SUBMIT GENERATED DLLS FOR INCLUSION INTO WINE!\n * \n */" - "\n\n#include \"%s_dll.h\"\n\nWINE_DEFAULT_DEBUG_CHANNEL(%s);\n\n", + "\n\n#include \"config.h\"\n#include \"%s_dll.h\"\n\n" + "WINE_DEFAULT_DEBUG_CHANNEL(%s);\n\n", OUTPUT_DLL_NAME, globals.input_name, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME);