From b3cf281174674ced4e167081e6908b2b0ee29deb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Dec 2016 12:50:06 +0200 Subject: [PATCH] Unbreak the MinGW build * lib/stdio-impl.h [__MINGW32__]: Don't include errno.h. Without this, temacs crashes while dumping. --- lib/stdio-impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 766d6936590..1972a33ab13 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -26,7 +26,9 @@ # include #endif +#ifndef __MINGW32__ #include /* For detecting Plan9. */ +#endif #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */ -- 2.39.2