~ chicken-core (chicken-5) 2adf319c4204f8b29f43efaabceedd4276b2c533
commit 2adf319c4204f8b29f43efaabceedd4276b2c533
Author: Peter Bex <peter@more-magic.net>
AuthorDate: Sat May 26 18:21:44 2018 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Fri Jun 8 20:52:07 2018 +0200
Include winerror.h in mingw native builds
Signed-off-by: felix <felix@call-with-current-continuation.org>
diff --git a/runtime.c b/runtime.c
index 2112e032..518fb7cb 100644
--- a/runtime.c
+++ b/runtime.c
@@ -116,6 +116,8 @@ static C_TLS int timezone;
/* Include winsock2 to get select() for check_fd_ready() */
# include <winsock2.h>
# include <windows.h>
+/* Needed for ERROR_OPERATION_ABORTED */
+# include <winerror.h>
#endif
/* For image_info retrieval */
Trap