diff options
Diffstat (limited to 'libc/include/bsd/errno.h')
-rw-r--r-- | libc/include/bsd/errno.h | 9 |
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 */ |