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-Tag: v0.11.0-rc1~1353 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=1ab0303dbc6d00f8fd0036170dd7a10b32fc8713 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 1cfa55376a..12755e010a 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;