compilation fixes

This commit is contained in:
Eduardo Bart 2011-04-07 05:45:58 -03:00
parent f3eaf3f726
commit 588eccba0d
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
#include "util.h" #include "util.h"
#include <iostream> #include <iostream>
#include <stdarg.h> #include <cstdlib>
void Logger::log(int level, const char *trace, const char *format, ...) void Logger::log(int level, const char *trace, const char *format, ...)
{ {

View File

@ -23,8 +23,7 @@
#include "util.h" #include "util.h"
#include <cstdio>
#include <stdarg.h>
std::string vformat(const char *format, va_list args) std::string vformat(const char *format, va_list args)
{ {

View File

@ -26,6 +26,7 @@
#define UTIL_H #define UTIL_H
#include "logger.h" #include "logger.h"
#include <stdarg.h>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
/// Formatting like printf for std::string, va_list input version /// Formatting like printf for std::string, va_list input version