summary refs log tree commit diff
path: root/sysdeps/unix/bsd/bsd4.4/errnos.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/bsd4.4/errnos.h')
-rw-r--r--sysdeps/unix/bsd/bsd4.4/errnos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bsd4.4/errnos.h b/sysdeps/unix/bsd/bsd4.4/errnos.h
index dcfdd9c47f..c2a9c08413 100644
--- a/sysdeps/unix/bsd/bsd4.4/errnos.h
+++ b/sysdeps/unix/bsd/bsd4.4/errnos.h
@@ -165,4 +165,6 @@
 #endif /* __USE_BSD */
 
 
+#define __set_errno(val) errno = (val)
+
 #endif /* <errno.h> included.  */