Merge pull request #150 from pacheco017/unity-float-verbose-includes

Include <stdio.h> (for sprintf) when using UNITY_FLOAT_VERBOSE (thanks pacheco017!)
This commit is contained in:
Mark VanderVoord
2015-12-28 13:17:28 -05:00

View File

@ -285,7 +285,7 @@ void UnityPrintMask(const _U_UINT mask, const _U_UINT number)
//----------------------------------------------- //-----------------------------------------------
#ifdef UNITY_FLOAT_VERBOSE #ifdef UNITY_FLOAT_VERBOSE
#include <string.h> #include <stdio.h>
void UnityPrintFloat(_UF number) void UnityPrintFloat(_UF number)
{ {
char TempBuffer[32]; char TempBuffer[32];