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
This commit is contained in:
parent
6c4cfd6af5
commit
fd41f9a579
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
#include "android-base/errors.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
namespace android {
|
||||
namespace base {
|
||||
|
|
Loading…
Reference in a new issue