In UCRT mode, conio.h uses the NULL define. Therefore, include stddef.h at the top of the header.
Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/conio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/crt/conio.h b/mingw-w64-headers/crt/conio.h index 9471d9dc4..ff582c2bc 100644 --- a/mingw-w64-headers/crt/conio.h +++ b/mingw-w64-headers/crt/conio.h @@ -7,6 +7,7 @@ #define _INC_CONIO #include <crtdefs.h> +#include <stddef.h> #if !defined(_UCRTBASE_STDIO_DEFINED) && defined(_UCRT) #define _UCRTBASE_STDIO_DEFINED -- 2.17.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
