summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyong Park2017-09-05 22:21:40 -0500
committerJiyong Park2017-09-05 23:04:57 -0500
commitbab16584ce0525742b5370682c9132b2002ee110 (patch)
tree06e6e1ebd8047e638ec1142597b05b3c4f2f39fc /libutils/SystemClock.cpp
parent9638729a9d9e3cbbbe1bb2784e774fef0f2e6a54 (diff)
downloadplatform-system-core-bab16584ce0525742b5370682c9132b2002ee110.tar.gz
platform-system-core-bab16584ce0525742b5370682c9132b2002ee110.tar.xz
platform-system-core-bab16584ce0525742b5370682c9132b2002ee110.zip
Don't rely on transitively included headers
One must explicitly include what it need. time.h for clock_gettime Bug: 37629934 Test: build Change-Id: I992eac637f373b204aa161b0b26f5563e952c27e
Diffstat (limited to 'libutils/SystemClock.cpp')
-rw-r--r--libutils/SystemClock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/SystemClock.cpp b/libutils/SystemClock.cpp
index 28fc35145..73ec1be96 100644
--- a/libutils/SystemClock.cpp
+++ b/libutils/SystemClock.cpp
@@ -23,9 +23,9 @@
23 23
24#include <utils/SystemClock.h> 24#include <utils/SystemClock.h>
25 25
26#include <sys/time.h>
27#include <string.h> 26#include <string.h>
28#include <errno.h> 27#include <errno.h>
28#include <time.h>
29 29
30#include <cutils/compiler.h> 30#include <cutils/compiler.h>
31 31