projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83772f3
)
helper/options: Add missing #include for MinGW and MSYS2
author
Marc Schink
<openocd-dev@marcschink.de>
Mon, 21 Aug 2017 18:56:43 +0000
(20:56 +0200)
committer
Spencer Oliver
<spen@spen-soft.co.uk>
Tue, 3 Oct 2017 10:18:20 +0000
(11:18 +0100)
Change-Id: I3bb295f52706b641661241e3e047306811ca915e
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/4201
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/helper/options.c
patch
|
blob
|
history
diff --git
a/src/helper/options.c
b/src/helper/options.c
index 1cfa55376afb3a6d1cf9ad4296c958e77f499ceb..12755e010a86c915588a8a72aa692134916a2e34 100644
(file)
--- a/
src/helper/options.c
+++ b/
src/helper/options.c
@@
-37,6
+37,9
@@
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
#endif
+#if IS_WIN32 && !IS_CYGWIN
+#include <windows.h>
+#endif
static int help_flag, version_flag;