(<errno.h>): Include it.
authorJim Meyering <jim@meyering.net>
Sat, 4 Mar 2000 12:35:47 +0000 (12:35 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Mar 2000 12:35:47 +0000 (12:35 +0000)
(errno): Declare if not defined.

lib/unicodeio.c

index 8e0b2d8..6761260 100644 (file)
 
 #include <stdio.h>
 
+#include <errno.h>
+#ifndef errno
+extern int errno;
+#endif
+
 #if HAVE_ICONV
 # include <iconv.h>
 /* Name of UCS-4 encoding with machine dependent endianness and alignment.  */