diff options
| author | Jiyong Park <jiyong@google.com> | 2017-09-06 12:10:07 +0900 |
|---|---|---|
| committer | firebird11 <hbgassel@gmail.com> | 2019-01-12 14:01:04 +0100 |
| commit | 224a2777c467bd57b67683f6c034e910daa4058a (patch) | |
| tree | 23349dd223780ec4071985cbbac84c3a02d2d29f | |
| parent | 9fa54b3774675557a829a6306ae302b26fd6be77 (diff) | |
g3-common: gps: Don't rely on transitively included headers
One must explicitly include what it need.
time.h for struct tm.
Bug: 37629934
Test: build
Merged-In: Iacd5317d958f61df062fca40fbf2e8992c7fbb44
Change-Id: I19e1043f23dbe85836b73714a4f1440159ebe419
| -rw-r--r-- | gps/utils/loc_log.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gps/utils/loc_log.cpp b/gps/utils/loc_log.cpp index 18182b7..e0f8478 100644 --- a/gps/utils/loc_log.cpp +++ b/gps/utils/loc_log.cpp @@ -32,6 +32,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> +#include <time.h> #include "loc_log.h" #include "msg_q.h" #ifdef USE_GLIB |
