about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/errnos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/errnos.h b/sysdeps/mach/hurd/errnos.h
index b14c98ab88..cbc7a94336 100644
--- a/sysdeps/mach/hurd/errnos.h
+++ b/sysdeps/mach/hurd/errnos.h
@@ -284,6 +284,7 @@ typedef enum __error_t_codes error_t;
 /* errno is a per-thread variable.  */
 #include <hurd/threadvar.h>
 #define errno	(*__hurd_errno_location ())
+#define __set_errno(val) errno = (val)
 
 #endif /* <errno.h> included.  */