aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b14c98a..cbc7a94 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. */