diff options
| author | Pirama Arumuga Nainar <pirama@google.com> | 2018-09-18 14:50:30 -0700 |
|---|---|---|
| committer | Pirama Arumuga Nainar <pirama@google.com> | 2018-09-21 10:46:35 -0700 |
| commit | 18a1606a883fb5de1f8af403cda6a44976a2b80d (patch) | |
| tree | 251c9211bb224f20d9e0647e6544debda26efd68 /base | |
| parent | 29e3dd8548dbaa8c14b8092f4407e1cc3256c35a (diff) | |
| download | system_core-18a1606a883fb5de1f8af403cda6a44976a2b80d.tar.gz system_core-18a1606a883fb5de1f8af403cda6a44976a2b80d.tar.bz2 system_core-18a1606a883fb5de1f8af403cda6a44976a2b80d.zip | |
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
Diffstat (limited to 'base')
| -rw-r--r-- | base/include/android-base/utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/include/android-base/utf8.h b/base/include/android-base/utf8.h index 4b916232c..1a414ec79 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. |
