aboutsummaryrefslogtreecommitdiff
path: root/libio/fileops.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/fileops.c')
-rw-r--r--libio/fileops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 001794d05a..22feb74fdd 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -37,6 +37,9 @@
#ifndef errno
extern int errno;
#endif
+#ifndef __set_errno
+# define __set_errno(Val) errno = (Val)
+#endif
#ifdef _LIBC