diff options
| author | Steven Moreland <smoreland@google.com> | 2017-04-13 15:17:59 -0700 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2017-04-14 17:06:33 +0000 |
| commit | 8da9613b3f866b298bee1236b80bbbc63c554fdf (patch) | |
| tree | 3ff5fd1398103401582c195cd5fc33d3d45b494f /libutils/misc.cpp | |
| parent | bed3cbd8ac9ccdcd641904f72c3835db037e736a (diff) | |
| download | system_core-8da9613b3f866b298bee1236b80bbbc63c554fdf.tar.gz system_core-8da9613b3f866b298bee1236b80bbbc63c554fdf.tar.bz2 system_core-8da9613b3f866b298bee1236b80bbbc63c554fdf.zip | |
libutils: include what you use
These includes are included transitively by liblog, but not by the VNDK
version of liblog.
Bug: 33241851
Test: links with BOARD_VNDK_VERSION := current
Change-Id: Ide4aee3cacad2a2bf6bd0cbdf0254c6c245f4020
Diffstat (limited to 'libutils/misc.cpp')
| -rw-r--r-- | libutils/misc.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libutils/misc.cpp b/libutils/misc.cpp index 2608a6575..ab72fe6ed 100644 --- a/libutils/misc.cpp +++ b/libutils/misc.cpp @@ -16,15 +16,11 @@ #define LOG_TAG "misc" -// -// Miscellaneous utility functions. -// #include <utils/misc.h> -#include <utils/Log.h> -#if !defined(_WIN32) -#endif +#include <pthread.h> +#include <utils/Log.h> #include <utils/Vector.h> using namespace android; |
