diff --git a/lib/unicodeio.c b/lib/unicodeio.c index 8e0b2d8f1..676126058 100644 --- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -29,6 +29,11 @@ #include +#include +#ifndef errno +extern int errno; +#endif + #if HAVE_ICONV # include /* Name of UCS-4 encoding with machine dependent endianness and alignment. */