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
This commit is contained in:
parent
9638729a9d
commit
bab16584ce
1 changed files with 1 additions and 1 deletions
|
@ -23,9 +23,9 @@
|
|||
|
||||
#include <utils/SystemClock.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <cutils/compiler.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue