summaryrefslogtreecommitdiff
path: root/include/bits/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bits/errno.h')
-rw-r--r--include/bits/errno.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bits/errno.h b/include/bits/errno.h
new file mode 100644
index 00000000..4789fef8
--- /dev/null
+++ b/include/bits/errno.h
@@ -0,0 +1,12 @@
+#ifndef __BITS_ERRNO_H
+#define __BITS_ERRNO_H
+
+#ifndef __BITS_ERRNO_H_
+#error "Internal header — include the public API header instead."
+#else
+#undef __BITS_ERRNO_H_
+#endif
+
+typedef int errno_t;
+
+#endif