Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd41f9a5 authored by Anatol Pomazau's avatar Anatol Pomazau Committed by Anatol Pomozov
Browse files

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
parent 6c4cfd6a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include "android-base/errors.h"

#include <errno.h>
#include <string.h>

namespace android {
namespace base {