summaryrefslogtreecommitdiff
path: root/src/common/procmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/procmon.c')
-rw-r--r--src/common/procmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/procmon.c b/src/common/procmon.c
index 36b1a48553..3f92c16ee3 100644
--- a/src/common/procmon.c
+++ b/src/common/procmon.c
@@ -25,7 +25,9 @@
#ifdef _WIN32
#include <windows.h>
+#endif
+#if 0 == SIZEOF_PID_T
/* Windows does not define pid_t, but _getpid() returns an int. */
typedef int pid_t;
#endif