From 86e059b403d66102d3cfae28703243c5b971170a Mon Sep 17 00:00:00 2001 From: Snaipe Date: Fri, 31 Jul 2015 04:21:40 +0200 Subject: [PATCH] Fixed GetProcessId include compatibility for windows server 2012 & windows 8 --- src/posix-compat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posix-compat.c b/src/posix-compat.c index e68f848..020d61f 100644 --- a/src/posix-compat.c +++ b/src/posix-compat.c @@ -4,6 +4,8 @@ #ifdef VANILLA_WIN32 # define VC_EXTRALEAN # define WIN32_LEAN_AND_MEAN +# undef _WIN32_WINNT +# define _WIN32_WINNT 0x0502 # include # include # include