From 0197dedff43cb1dabd0780855e9a59475087a805 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 20 Apr 2011 13:27:04 +0000 Subject: Include to get a definition for getpid() from the Windows CRT, to replace the emulated one in emu.cpp. --- lib/common/Logging.cpp | 3 +++ lib/server/Daemon.cpp | 1 + 2 files changed, 4 insertions(+) (limited to 'lib') 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 #endif +#ifdef WIN32 + #include +#endif #include #include 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 + #include #endif #include -- cgit v1.2.3