summaryrefslogtreecommitdiffstats
path: root/libc/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/errno.h')
-rw-r--r--libc/include/errno.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h
index 1a36b7a..82f4b42 100644
--- a/libc/include/errno.h
+++ b/libc/include/errno.h
@@ -46,6 +46,10 @@ extern volatile int* __errno(void) __pure2;
/* a macro expanding to the errno l-value */
#define errno (*__errno())
+#if __ANDROID_API__ < 21
+#include <android/legacy_errno_inlines.h>
+#endif
+
__END_DECLS
#endif /* _ERRNO_H */