diff lib/unicodeio.c @ 2329:add6290501b6

(<errno.h>): Include it. (errno): Declare if not defined.
author Jim Meyering <jim@meyering.net>
date Sat, 04 Mar 2000 12:35:47 +0000
parents 463a686cf218
children f0f61b4d7d83
line wrap: on
line diff
--- a/lib/unicodeio.c
+++ b/lib/unicodeio.c
@@ -29,6 +29,11 @@
 
 #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.  */