aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Logger_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/Logger_file.h')
-rw-r--r--common/rfb/Logger_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/Logger_file.h b/common/rfb/Logger_file.h
index 5e0c917b..5b5c34e1 100644
--- a/common/rfb/Logger_file.h
+++ b/common/rfb/Logger_file.h
@@ -24,6 +24,8 @@
#include <time.h>
#include <rfb/Logger.h>
+namespace os { class Mutex; }
+
namespace rfb {
class Logger_File : public Logger {
@@ -43,6 +45,7 @@ namespace rfb {
char* m_filename;
FILE* m_file;
time_t m_lastLogTime;
+ os::Mutex* mutex;
};
bool initFileLogger(const char* filename);