summaryrefslogtreecommitdiff
path: root/src/info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/info.cc')
-rw-r--r--src/info.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/info.cc b/src/info.cc
index 701a705..e67f444 100644
--- a/src/info.cc
+++ b/src/info.cc
@@ -28,12 +28,14 @@
#include "info.h"
#include <time.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;