stdlib.h is needed for malloc

This commit is contained in:
Micke Prag 2012-12-04 17:28:36 +01:00
parent 2cb1a2ac97
commit 38e624af66

View file

@ -19,7 +19,7 @@
#endif
#include <stdarg.h>
#include <stdio.h>
//#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include "common/Strings.h"
@ -48,7 +48,7 @@ inline void debuglogfilename(const int intMessage, const std::string strMessage,
#ifdef _WINDOWS
static bool firstRun = true;
std::ofstream file;
if (firstRun) {
file.open(filename.c_str(), std::ios::out);
firstRun = false;