--- a/cmdutils.c 2017-07-29 19:49:29.000000000 +0200 +++ b/cmdutils.c 2018-09-02 20:31:42.509408400 +0200 @@ -62,6 +62,8 @@ #include #endif #ifdef _WIN32 +#define _WIN32_WINNT 0x0600 +#define WIN32_LEAN_AND_MEAN #include #endif