From: Marc Schink Date: Mon, 21 Aug 2017 18:56:43 +0000 (+0200) Subject: helper/options: Add missing #include for MinGW and MSYS2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ab0303dbc6d00f8fd0036170dd7a10b32fc8713;p=openocd helper/options: Add missing #include for MinGW and MSYS2 Change-Id: I3bb295f52706b641661241e3e047306811ca915e Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/4201 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/helper/options.c b/src/helper/options.c index 1cfa5537..12755e01 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -37,6 +37,9 @@ #ifdef HAVE_SYS_SYSCTL_H #include #endif +#if IS_WIN32 && !IS_CYGWIN +#include +#endif static int help_flag, version_flag;