commit | 9cb8639b18bc90dab461b4709607083301c9f6fc | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Tue Oct 17 08:41:23 2017 +0000 |
committer | Orion Hodson <oth@google.com> | Tue Oct 17 08:41:23 2017 +0000 |
tree | 36a2c69a6fdca4c4da71da08cfc08e5e4cfcf395 | |
parent | 43df953502c9615781e73ac3cc0db2a711a86998 [diff] [blame] |
Revert "Cleanup transitive includes in the legacy inlines." This reverts commit 43df953502c9615781e73ac3cc0db2a711a86998. Reason for revert: Breaks most AOSP builds. https://android-build.googleplex.com/builds/branch-dashboard/aosp-master?build_id=4399910 Change-Id: I53459f97b7dffb1f7f602db03893564dd3cfe6bf
diff --git a/libc/include/android/legacy_errno_inlines.h b/libc/include/android/legacy_errno_inlines.h index 9f116fa..8f08074 100644 --- a/libc/include/android/legacy_errno_inlines.h +++ b/libc/include/android/legacy_errno_inlines.h
@@ -29,12 +29,11 @@ #ifndef _ANDROID_LEGACY_ERRNO_INLINES_H #define _ANDROID_LEGACY_ERRNO_INLINES_H +#include <errno.h> #include <sys/cdefs.h> #if __ANDROID_API__ < __ANDROID_API_L__ -#include <errno.h> - __BEGIN_DECLS static __inline int __attribute__((deprecated)) __set_errno(int n) {