From 944b412fe6d3c4fe16714311ecb39593c4c0e68b Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 2 Jun 2015 20:44:00 +0200 Subject: [PATCH] Need extra include if UNICODE is defines --- src/sprtf.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sprtf.c b/src/sprtf.c index 44c2ca6..6ead761 100644 --- a/src/sprtf.c +++ b/src/sprtf.c @@ -23,6 +23,9 @@ * */ +#ifdef _MSC_VER +#pragma warning( disable : 4995 ) +#endif // Module: sprtf.cxx // Debug log file output #include // fopen()... @@ -31,6 +34,9 @@ #ifdef _MSC_VER #include #include +#if (defined(UNICODE) || defined(_UNICODE)) +#include +#endif #else /* !_MSC_VER */ #include // gettimeoday(), struct timeval,... #endif /* _MSC_VER y/n */