summaryrefslogtreecommitdiff
path: root/libutils/include/utils/Singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'libutils/include/utils/Singleton.h')
-rw-r--r--libutils/include/utils/Singleton.h5
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 {