commit | d161e577237fdecb162170c071cefa0caed97606 | [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 | 4f9bc321a9f93895e4b1a168b15061a24ee65ed9 [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.