sdm660-common: gps: Don't rely on transitively included headers
One must explicitly include what it need. time.h for struct tm. sys/time.h for gettimeofday, etc. Bug: 37629934 Test: build Merged-In: Iacd5317d958f61df062fca40fbf2e8992c7fbb44 Change-Id: I19e1043f23dbe85836b73714a4f1440159ebe419
This commit is contained in:
parent
d88a67c4c7
commit
44c4e9bf4a
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
#include <sys/un.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <cutils/properties.h>
|
||||
#include <math.h>
|
||||
#include <arpa/inet.h>
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include "log_util.h"
|
||||
#include "loc_log.h"
|
||||
#include "msg_q.h"
|
||||
|
|
Loading…
Reference in a new issue