summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/include/errno.h')
-rw-r--r--mdk-stage1/dietlibc/include/errno.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/errno.h b/mdk-stage1/dietlibc/include/errno.h
new file mode 100644
index 000000000..f4ba482b5
--- /dev/null
+++ b/mdk-stage1/dietlibc/include/errno.h
@@ -0,0 +1,10 @@
+#ifndef _ERRNO_H
+#define _ERRNO_H
+
+extern int errno;
+
+#include <linux/errno.h>
+
+extern void __set_errno(int error);
+
+#endif