summaryrefslogtreecommitdiff
path: root/src/chatlogger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-16 02:29:41 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-16 02:29:41 +0300
commit1e68125a911d426df22281690f09396158ba5ded (patch)
tree2e46a2966de58db1654036637ceba5caf7b6958a /src/chatlogger.cpp
parent435c12617241fb87225987f2e3f0521cf2dbae75 (diff)
downloadplus-1e68125a911d426df22281690f09396158ba5ded.tar.gz
plus-1e68125a911d426df22281690f09396158ba5ded.tar.bz2
plus-1e68125a911d426df22281690f09396158ba5ded.tar.xz
plus-1e68125a911d426df22281690f09396158ba5ded.zip
Replace file type from stream to FILE in logger.
This will allow log data from C libs.
Diffstat (limited to 'src/chatlogger.cpp')
-rw-r--r--src/chatlogger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index e2fcb13f3..45a29b709 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -28,8 +28,9 @@
#include "utils/cast.h"
-#include <iostream>
+#include <fstream>
#include <dirent.h>
+#include <iostream>
#ifdef WIN32
#include <windows.h>