Specify include quotes in the tests.dat file.
diff --git a/tools/winapi/tests.dat b/tools/winapi/tests.dat
index d1e43e9..14a4e56 100644
--- a/tools/winapi/tests.dat
+++ b/tools/winapi/tests.dat
@@ -15,7 +15,7 @@
%include
-windows.h
+"windows.h"
%type
@@ -454,7 +454,7 @@
%include
-windows.h
+"windows.h"
%type
@@ -584,8 +584,8 @@
%include
-ntstatus.h
-windows.h
+"ntstatus.h"
+"windows.h"
%type
@@ -869,14 +869,14 @@
%include
-stdarg.h
-windef.h
-winbase.h
-wtypes.h
-shellapi.h
-winuser.h
-wingdi.h
-shlobj.h
+<stdarg.h>
+"windef.h"
+"winbase.h"
+"wtypes.h"
+"shellapi.h"
+"winuser.h"
+"wingdi.h"
+"shlobj.h"
%type
@@ -945,12 +945,12 @@
%include
-stdarg.h
-windef.h
-winbase.h
-wtypes.h
-winreg.h
-shlwapi.h
+<stdarg.h>
+"windef.h"
+"winbase.h"
+"wtypes.h"
+"winreg.h"
+"shlwapi.h"
%type
@@ -979,10 +979,10 @@
%include
-stdarg.h
-windef.h
-winbase.h
-urlmon.h
+<stdarg.h>
+"windef.h"
+"winbase.h"
+"urlmon.h"
%type
@@ -1012,7 +1012,7 @@
%include
-windows.h
+"windows.h"
%type
@@ -1278,10 +1278,10 @@
%include
-stdarg.h
-windef.h
-winbase.h
-wininet.h
+<stdarg.h>
+"windef.h"
+"winbase.h"
+"wininet.h"
%type
diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test
index f726b7c..b04f78e 100755
--- a/tools/winapi/winapi_test
+++ b/tools/winapi/winapi_test
@@ -465,7 +465,7 @@
foreach my $test (@tests) {
my @includes = $tests->get_section($test_dir, $test, "include");
foreach my $include (@includes) {
- print OUT "#include \"$include\"\n";
+ print OUT "#include $include\n";
}
}
print OUT "\n";