diff --git a/cfg/windows.cfg b/cfg/windows.cfg
index ae2dc9224..39363b0b8 100644
--- a/cfg/windows.cfg
+++ b/cfg/windows.cfg
@@ -1461,10 +1461,45 @@
+
+
+ false
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
diff --git a/test/cfg/posix.c b/test/cfg/posix.c
index 831803ab8..861683dcd 100644
--- a/test/cfg/posix.c
+++ b/test/cfg/posix.c
@@ -7,6 +7,7 @@
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
+#include
#include // <- FILE
#include
#include
@@ -126,6 +127,8 @@ void invalidFunctionArg() {
void uninitvar(int fd) {
int x;
char buf[2];
+ int decimal, sign;
+ double d;
// cppcheck-suppress uninitvar
write(x,"ab",2);
// cppcheck-suppress uninitvar
@@ -143,8 +146,6 @@ void uninitvar(int fd) {
pattern="";
// cppcheck-suppress uninitvar
regcomp(®, pattern, cflags);
- int decimal, sign;
- double d;
// cppcheck-suppress uninitvar
// cppcheck-suppress unreadVariable
char *buffer = ecvt(d, 11, &decimal, &sign);