msvcrt: Added support for secure functions to scanf helper functions.
diff --git a/dlls/msvcrt/scanf.c b/dlls/msvcrt/scanf.c
index 4845019..d0557d0 100644
--- a/dlls/msvcrt/scanf.c
+++ b/dlls/msvcrt/scanf.c
@@ -24,6 +24,7 @@
*/
#include <stdarg.h>
+#include <limits.h>
#include "windef.h"
#include "winbase.h"
@@ -61,30 +62,35 @@
#undef WIDE_SCANF
#undef CONSOLE
#undef STRING
+#undef SECURE
#include "scanf.h"
/* vfwscanf_l */
#define WIDE_SCANF 1
#undef CONSOLE
#undef STRING
+#undef SECURE
#include "scanf.h"
/* vsscanf_l */
#undef WIDE_SCANF
#undef CONSOLE
#define STRING 1
+#undef SECURE
#include "scanf.h"
/* vswscanf_l */
#define WIDE_SCANF 1
#undef CONSOLE
#define STRING 1
+#undef SECURE
#include "scanf.h"
/* vcscanf_l */
#undef WIDE_SCANF
#define CONSOLE 1
#undef STRING
+#undef SECURE
#include "scanf.h"