From 18a1606a883fb5de1f8af403cda6a44976a2b80d Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Tue, 18 Sep 2018 14:50:30 -0700 Subject: [PATCH] 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 --- base/include/android-base/utf8.h | 1 + 1 file changed, 1 insertion(+) 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 #include #else // Bring in prototypes for standard APIs so that we can import them into the utf8 namespace.