diff options
author | Jim Meyering <jim@meyering.net> | 2000-03-04 12:35:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-03-04 12:35:47 +0000 |
commit | 28334dafe41b61b51e07b8665119c59dfd50d1cb (patch) | |
tree | d455d6d51cbc65fbbf4d4cd30739fb593b49b0e3 /lib | |
parent | 45758bf1938c8b838a299ff57b933a558d7fca4a (diff) | |
download | coreutils-28334dafe41b61b51e07b8665119c59dfd50d1cb.tar.xz |
(<errno.h>): Include it.
(errno): Declare if not defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicodeio.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <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. */ |