@ windows.h: this should be in
$ tar tf build/downloads/mingw-w64-v2.0.8.tar.gz | grep windows.h
mingw-w64-v2.0.8/mingw-w64-headers/include/windows.h
It should end up in
build/tmp/sysroots/x86_64-nativesdk-mingw32-pokysdk-mingw32/opt/iot-devkit/1.5.1/sysroots/x86_64-pokysdk-mingw32/usr/include/windows.h
Maybe check the logs in build/tmp/work/x86_64-pokysdk-mingw32/gcc-crosssdk/4.8.1-r0/temp and try to run make directly in
build/tmp/work/x86_64-pokysdk-mingw32/gcc-crosssdk/4.8.1-r0/gcc-4.8.1/build.x86_64-linux.x86_64-pokysdk-mingw32
Not sure whether this is of any help. Pls let me know how you proceed
Good luck,
Matthias