diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-04-20 13:27:04 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-04-20 13:27:04 +0000 |
commit | 0197dedff43cb1dabd0780855e9a59475087a805 (patch) | |
tree | 106fcef7ee63414395606bc9fbd0a56bef776b7c /lib/common/Logging.cpp | |
parent | 46d65d06b31b88af89d45a837d0af4a92aebc78f (diff) |
Include <process.h> to get a definition for getpid() from the Windows CRT,
to replace the emulated one in emu.cpp.
Diffstat (limited to 'lib/common/Logging.cpp')
-rw-r--r-- | lib/common/Logging.cpp | 3 |
1 files changed, 3 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> |