diff options
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeX_ext.c')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c index 87890d6ab5d..d06f83748d6 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c @@ -34,6 +34,10 @@ authorization from the copyright holders. * additional plain C extensions for XeTeX - mostly platform-neutral */ +/* We must include this first to avoid conflicting eof() declarations + from mingw32's <io.h> and web2c/lib/lib.h. */ +#include <kpathsea/config.h> + #ifdef XETEX_OTHER #ifdef POPPLER_VERSION #define xpdfVersion POPPLER_VERSION |