summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Logging.cpp3
-rw-r--r--lib/server/Daemon.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/common/Logging.cpp b/lib/common/Logging.cpp
index d0e05394..4ee5aae7 100644
--- a/lib/common/Logging.cpp
+++ b/lib/common/Logging.cpp
@@ -22,6 +22,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef WIN32
+ #include <process.h>
+#endif
#include <cstring>
#include <iomanip>
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp
index 528f9e57..ef9ad2e0 100644
--- a/lib/server/Daemon.cpp
+++ b/lib/server/Daemon.cpp
@@ -25,6 +25,7 @@
#ifdef WIN32
#include <ws2tcpip.h>
+ #include <process.h>
#endif
#include <iostream>