projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98af17
)
(<errno.h>): Include it.
author
Jim Meyering
<jim@meyering.net>
Sat, 4 Mar 2000 12:35:47 +0000
(12:35 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 4 Mar 2000 12:35:47 +0000
(12:35 +0000)
(errno): Declare if not defined.
lib/unicodeio.c
patch
|
blob
|
history
diff --git
a/lib/unicodeio.c
b/lib/unicodeio.c
index 8e0b2d8f1f1dc20c11953556e03d8ee4be6fe9b7..67612605855fecbdc01e8d252106f6f770249227 100644
(file)
--- 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. */