changeset 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 1322e582fd21
children dc8b0955c578
files lib/unicodeio.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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.  */