diff options
author | Reuben Thomas <rrt@sc3d.org> | 2009-03-05 21:44:48 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2009-03-05 21:44:48 +0000 |
commit | 2296dccd2f3e1ca88cc670f10b25b8d4cc758259 (patch) | |
tree | f091d4eb4f06c141222baa2d09e09db286897fd8 /lib | |
parent | 1bf17740c26b82292fd71abf9083b3984cb701c3 (diff) | |
download | plptools-2296dccd2f3e1ca88cc670f10b25b8d4cc758259.tar.gz plptools-2296dccd2f3e1ca88cc670f10b25b8d4cc758259.tar.bz2 plptools-2296dccd2f3e1ca88cc670f10b25b8d4cc758259.zip |
Add include of cstdio from Martin Michlmayr to fix compilation with GCC 4.4.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/log.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -24,6 +24,7 @@ #ifndef _LOG_H_ #define _LOG_H_ +#include <cstdio> #include <iostream> #include <syslog.h> @@ -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; } |