commit | 2a14b48872a52460e376fde5820e9743dabb6039 | [log] [tgz] |
---|---|---|
author | Ivan Afonichev <iafonichev@griddynamics.com> | Thu Aug 30 01:12:56 2018 +0400 |
committer | Ivan Afonichev <iafonichev@griddynamics.com> | Thu Aug 30 01:12:56 2018 +0400 |
tree | 67087ca5cf2719fe5f2fa2c8f05f145a58dbaba9 | |
parent | 0bbcaac91f2906c127b243cb7bbf9fc3bd81b64a [diff] |
adb should #include <sys/sysmacros.h> On modern systems <sys/sysmacros.h> no longer being included by <sys/types.h> To use major(), minor() we should include <sys/sysmacros.h> explicitly. See https://koji.fedoraproject.org/koji/taskinfo?taskID=29356781 Similar changes merged last year: https://android-review.googlesource.com/c/platform/system/core/+/398913 https://android-review.googlesource.com/c/platform/system/core/+/399050