diff options
author | Mathias Agopian <mathias@google.com> | 2017-02-28 15:06:51 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2017-03-03 14:47:47 -0800 |
commit | 22dbf3947fedf988e714a4703ddf85fc41413f90 (patch) | |
tree | ad823e9592de58265e4740a4d1ae251bfa260348 /libutils/include/utils/Singleton.h | |
parent | 6048d9db5f11045412504b533ea9a92a7df6354c (diff) |
clean-up libutils includes
moved Foo.h as first include of Foo.cpp, and
removed redundant includes.
Made NativeHandle non virtual.
Test: run & compile
Bug: n/a
Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a
Diffstat (limited to 'libutils/include/utils/Singleton.h')
-rw-r--r-- | libutils/include/utils/Singleton.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libutils/include/utils/Singleton.h b/libutils/include/utils/Singleton.h index a989a4703..bdb2332cf 100644 --- a/libutils/include/utils/Singleton.h +++ b/libutils/include/utils/Singleton.h @@ -18,9 +18,12 @@ #define ANDROID_UTILS_SINGLETON_H #include <stdint.h> + +// some vendor code assumes they have atoi() after including this file. +#include <stdlib.h> + #include <sys/types.h> #include <utils/Mutex.h> -#include <utils/threads.h> #include <cutils/compiler.h> namespace android { |