summaryrefslogtreecommitdiff
path: root/libc/include/bsd/errno.h
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1996-05-31 21:33:17 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:30:46 +0200
commite85ee07172eccafd9441362e774f7b184810d008 (patch)
tree5dc12259ab7a61b12d9df284fe58ad5cb312c526 /libc/include/bsd/errno.h
parentdcc973ea3e31710429858c99d4f040334ac67c06 (diff)
downloaddev86-e85ee07172eccafd9441362e774f7b184810d008.tar.gz
Import Dev86-0.0.6.tar.gzv0.0.6
Diffstat (limited to 'libc/include/bsd/errno.h')
-rw-r--r--libc/include/bsd/errno.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/include/bsd/errno.h b/libc/include/bsd/errno.h
new file mode 100644
index 0000000..c2d464e
--- /dev/null
+++ b/libc/include/bsd/errno.h
@@ -0,0 +1,9 @@
+/* make sure EWOULDBLOCK doesn't screw us up */
+#ifndef _BSD_ERRNO_H
+#define _BSD_ERRNO_H
+
+#include_next <errno.h>
+#undef EWOULDBLOCK
+#define EWOULDBLOCK EAGAIN
+
+#endif /* _BSD_ERRNO_H */