summaryrefslogtreecommitdiff
path: root/src/plugins/pid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pid.c')
-rw-r--r--src/plugins/pid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/pid.c b/src/plugins/pid.c
index 62eb6878c..2fdd2570c 100644
--- a/src/plugins/pid.c
+++ b/src/plugins/pid.c
@@ -1,15 +1,17 @@
#include <stdio.h>
#include <string.h>
+
#ifndef _WIN32
#include <unistd.h>
-#else
- #define getpid GetCurrentProcessId
#endif
#ifdef MINGW
#include <process.h>
#include <io.h>
+#else
+ #define getpid GetCurrentProcessId
#endif
+
#include "../common/plugin.h"
PLUGIN_INFO = {