rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / wine / patches / 06-config.h.patch
blob7e44f6ef912d3f48e7cd15c6441f010f03b5e029
1 diff --git a/dlls/msxml3/xslpattern.l b/dlls/msxml3/xslpattern.l
2 index 58df30909d..d3d449d038 100644
3 --- a/dlls/msxml3/xslpattern.l
4 +++ b/dlls/msxml3/xslpattern.l
5 @@ -18,9 +18,12 @@
6 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
7 */
9 -%{
10 +%top{
11 #include "config.h"
12 #include "wine/port.h"
15 +%{
17 #ifdef HAVE_LIBXML2
19 diff --git a/programs/winedbg/debug.l b/programs/winedbg/debug.l
20 index ef7a2eb42b..9f9c404d92 100644
21 --- a/programs/winedbg/debug.l
22 +++ b/programs/winedbg/debug.l
23 @@ -21,8 +21,11 @@
25 %option noinput nounput always-interactive 8bit prefix="dbg_"
27 -%{
28 +%top{
29 #include "config.h"
32 +%{
33 #include <stdlib.h>
34 #include <string.h>
35 #include <stdarg.h>
36 diff --git a/tools/widl/parser.l b/tools/widl/parser.l
37 index 3cbf4ff2d2..211ff4e2a5 100644
38 --- a/tools/widl/parser.l
39 +++ b/tools/widl/parser.l
40 @@ -40,11 +40,12 @@ double [0-9]+\.[0-9]+([eE][+-]?[0-9]+)*
41 %x PP_PRAGMA
42 %x SQUOTE
44 -%{
46 +%top{
47 #include "config.h"
48 #include "wine/port.h"
51 +%{
52 #include <stdio.h>
53 #include <stdlib.h>
54 #include <string.h>
55 diff --git a/tools/wrc/parser.l b/tools/wrc/parser.l
56 index f456c626d1..614c1a4c29 100644
57 --- a/tools/wrc/parser.l
58 +++ b/tools/wrc/parser.l
59 @@ -91,12 +91,14 @@
60 /* Some shortcut definitions */
61 ws [ \f\t\r]
63 +%top{
64 +#include "config.h"
69 /*#define LEX_DEBUG*/
71 -#include "config.h"
73 #include <stdio.h>
74 #include <stdlib.h>
75 #include <string.h>
76 --
77 2.23.0