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:
Jiyong Park 2022-12-28 12:24:43 +05:30 committed by CakesTwix
parent d88a67c4c7
commit 44c4e9bf4a
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825
2 changed files with 2 additions and 0 deletions

View file

@ -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>

View file

@ -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"