From: Eli Zaretskii Date: Fri, 16 Dec 2016 10:50:06 +0000 (+0200) Subject: Unbreak the MinGW build X-Git-Tag: emacs-26.0.90~1065 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3cf281174674ced4e167081e6908b2b0ee29deb;p=emacs.git Unbreak the MinGW build * lib/stdio-impl.h [__MINGW32__]: Don't include errno.h. Without this, temacs crashes while dumping. --- 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 */