summaryrefslogtreecommitdiff
path: root/lib/info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/info.cc')
-rw-r--r--lib/info.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/info.cc b/lib/info.cc
index 86e4cc4..6d381a3 100644
--- a/lib/info.cc
+++ b/lib/info.cc
@@ -29,11 +29,14 @@
#include <time.h>
#include <stdarg.h>
+#include <stdio.h>
+#include <string.h>
+
Info::Info() {
pthread_mutex_init (&mutex, NULL);
}
-void Info::log(char *fmt, ...)
+void Info::log(const char *fmt, ...)
{
// const time_t t;
FILE *fp;