From 2296dccd2f3e1ca88cc670f10b25b8d4cc758259 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 5 Mar 2009 21:44:48 +0000 Subject: Add include of cstdio from Martin Michlmayr to fix compilation with GCC 4.4. --- lib/log.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/log.h b/lib/log.h index 01ffe83..286113b 100644 --- a/lib/log.h +++ b/lib/log.h @@ -24,6 +24,7 @@ #ifndef _LOG_H_ #define _LOG_H_ +#include #include #include @@ -59,7 +60,7 @@ public: * Constructs a new instance. * * @param loglevel The log level for this instance. - * see syslog(3) for symbolic names to use. + * see syslog(3) for symbolic names to use. * @param fd An optional file descriptor to use * if switched off. */ @@ -74,7 +75,7 @@ public: /** * Modifies the loglevel of this instance. - * + * * @param newlevel The new loglevel. */ void setLevel(int newlevel) { _level = newlevel; } @@ -88,7 +89,7 @@ public: /** * Retrieves the current loglevel. - * + * * @returns The current loglevel. */ int level() { return _level; } -- cgit v1.2.3