From fd41f9a579f0a606d64edf76a239344bffcec89f Mon Sep 17 00:00:00 2001 From: Anatol Pomazau Date: Thu, 8 Aug 2019 14:47:44 -0700 Subject: Add header that defines strerror() It helps to fix a compilation issue with host libc: core/base/errors_unix.cpp:25:10: error: use of undeclared identifier 'strerror' return strerror(error_code); ^ Change-Id: I71d4221cc1bfa6f0cc764b40b6b28159994b8e04 --- base/errors_unix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'base/errors_unix.cpp') diff --git a/base/errors_unix.cpp b/base/errors_unix.cpp index 296995efe2..48269b6750 100644 --- a/base/errors_unix.cpp +++ b/base/errors_unix.cpp @@ -17,6 +17,7 @@ #include "android-base/errors.h" #include +#include namespace android { namespace base { -- cgit v1.2.3