diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-12-16 12:50:06 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-12-16 12:50:06 +0200 |
commit | b3cf281174674ced4e167081e6908b2b0ee29deb (patch) | |
tree | 99adcaa9042007e54a18088638b9b09c1515d07f /lib | |
parent | fb2fdb1435d2520c1cbf2a3d6a53128512a38458 (diff) | |
download | emacs-b3cf281174674ced4e167081e6908b2b0ee29deb.tar.gz |
Unbreak the MinGW build
* lib/stdio-impl.h [__MINGW32__]: Don't include errno.h. Without
this, temacs crashes while dumping.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdio-impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <sys/param.h> #endif +#ifndef __MINGW32__ #include <errno.h> /* For detecting Plan9. */ +#endif #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */ |