Borland C++: Fixed compiler error (couldn't find the function 'free')

This commit is contained in:
Daniel Marjamäki 2008-11-07 07:45:50 +00:00
parent a9e1fe5637
commit 53752c129d
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* /*
* c++check - c/c++ syntax checking * c++check - c/c++ syntax checking
* Copyright (C) 2007 Daniel Marjamäki * Copyright (C) 2007 Daniel Marjamäki
* *
@ -25,6 +25,10 @@
#include <string> #include <string>
#include <vector> #include <vector>
#ifdef __BORLANDC__
#include <stdlib.h> // <- free
#endif
extern std::vector<std::string> Files; extern std::vector<std::string> Files;
class TOKEN class TOKEN