summaryrefslogtreecommitdiff
path: root/Unix/i686-elf/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'Unix/i686-elf/include/errno.h')
-rw-r--r--Unix/i686-elf/include/errno.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Unix/i686-elf/include/errno.h b/Unix/i686-elf/include/errno.h
new file mode 100644
index 0000000..7cc2ca8
--- /dev/null
+++ b/Unix/i686-elf/include/errno.h
@@ -0,0 +1,11 @@
+#ifndef __ERRNO_H__
+#define __ERRNO_H__
+
+#ifndef __error_t_defined
+typedef int error_t;
+#define __error_t_defined 1
+#endif
+
+#include <sys/errno.h>
+
+#endif /* !__ERRNO_H__ */