aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/abort.c1
-rw-r--r--sysdeps/unix/sysv/linux/bits/errno.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/abort.c b/sysdeps/generic/abort.c
index 91c5046..e8157dd 100644
--- a/sysdeps/generic/abort.c
+++ b/sysdeps/generic/abort.c
@@ -32,6 +32,7 @@
#endif
#ifdef USE_IN_LIBIO
+# include <libo/iolibio.h>
# define fflush(s) _IO_fflush (s)
#endif
diff --git a/sysdeps/unix/sysv/linux/bits/errno.h b/sysdeps/unix/sysv/linux/bits/errno.h
index e3e8b32..35bd611 100644
--- a/sysdeps/unix/sysv/linux/bits/errno.h
+++ b/sysdeps/unix/sysv/linux/bits/errno.h
@@ -29,7 +29,7 @@
/* Linux also has no ECANCELED error code. Since it is not used here
we define it to an invalid value. */
-# define ECANCELED (-1)
+# define ECANCELED 125
# ifndef __ASSEMBLER__
/* We now need a declaration of the `errno' variable. */