summaryrefslogtreecommitdiff
path: root/src/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/main.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/monitor/main.cpp b/src/monitor/main.cpp
index f6e8271..2ab0a79 100644
--- a/src/monitor/main.cpp
+++ b/src/monitor/main.cpp
@@ -16,6 +16,13 @@
#include <fstream>
+#include "../strings/mstring.hpp"
+#include "../strings/fstring.hpp"
+#include "../strings/tstring.hpp"
+#include "../strings/sstring.hpp"
+#include "../strings/zstring.hpp"
+#include "../strings/xstring.hpp"
+
#include "../common/cxxstdio.hpp"
#include "../common/io.hpp"
#include "../common/utils.hpp"
@@ -142,11 +149,11 @@ int main(int argc, char *argv[])
signal(SIGQUIT, stop_process);
signal(SIGABRT, stop_process);
- workdir = make_path(ZString(ZString::really_construct_from_a_pointer, getenv("HOME"), nullptr), "tmwserver");
+ workdir = make_path(ZString(strings::really_construct_from_a_pointer, getenv("HOME"), nullptr), "tmwserver");
ZString config = CONFIG;
if (argc > 1)
- config = ZString(ZString::really_construct_from_a_pointer, argv[1], nullptr);
+ config = ZString(strings::really_construct_from_a_pointer, argv[1], nullptr);
read_config(config);
if (chdir(workdir.c_str()) < 0)