From 1ab0303dbc6d00f8fd0036170dd7a10b32fc8713 Mon Sep 17 00:00:00 2001 From: Marc Schink Date: Mon, 21 Aug 2017 20:56:43 +0200 Subject: [PATCH] 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 --- src/helper/options.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2