diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-04-03 10:52:32 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-04-03 10:52:32 +0000 |
commit | 2e2a7ed73051d13908f2c2c7179eb5bd8368c76c (patch) | |
tree | 81c295754ce5e87f62a35f79703490b8e0adbf24 /lib/common/Logging.cpp | |
parent | 41ce559afda0c50e8dbe23eedbfce326dfe446e2 (diff) |
gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the Debian
project. See also:
http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1
http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
Diffstat (limited to 'lib/common/Logging.cpp')
-rw-r--r-- | lib/common/Logging.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common/Logging.cpp b/lib/common/Logging.cpp index 1f872d93..1666b487 100644 --- a/lib/common/Logging.cpp +++ b/lib/common/Logging.cpp @@ -11,6 +11,10 @@ #include <errno.h> #include <time.h> +#include <string.h> // for stderror + +// c.f. http://bugs.debian.org/512510 +#include <cstdio> #ifdef HAVE_SYSLOG_H #include <syslog.h> |