commit | 18a1606a883fb5de1f8af403cda6a44976a2b80d | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Tue Sep 18 14:50:30 2018 -0700 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Fri Sep 21 10:46:35 2018 -0700 |
tree | 251c9211bb224f20d9e0647e6544debda26efd68 | |
parent | 29e3dd8548dbaa8c14b8092f4407e1cc3256c35a [diff] |
Add sys/types.h in utf8.h Bug: http://b/91353691 It's needed for mode_t. Test: Build and test Windows modules under Wine. Change-Id: I3fa6b2946316a9bd2a0d800ae928ba5de480a283
diff --git a/base/include/android-base/utf8.h b/base/include/android-base/utf8.h index 4b91623..1a414ec 100644 --- a/base/include/android-base/utf8.h +++ b/base/include/android-base/utf8.h
@@ -17,6 +17,7 @@ #pragma once #ifdef _WIN32 +#include <sys/types.h> #include <string> #else // Bring in prototypes for standard APIs so that we can import them into the utf8 namespace.