From 5a86a2763fab4f0fe5bf57674db98d116a966d7f Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Wed, 6 Sep 2017 12:10:07 +0900 Subject: wayne: 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 --- gps/gnss/XtraSystemStatusObserver.cpp | 1 + gps/utils/loc_log.cpp | 1 + .../platform_lib_abstractions/loc_pla/src/platform_lib_log_util.cpp | 1 + 3 files changed, 3 insertions(+) (limited to 'gps') diff --git a/gps/gnss/XtraSystemStatusObserver.cpp b/gps/gnss/XtraSystemStatusObserver.cpp index 2855c0d..e27e698 100644 --- a/gps/gnss/XtraSystemStatusObserver.cpp +++ b/gps/gnss/XtraSystemStatusObserver.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/gps/utils/loc_log.cpp b/gps/utils/loc_log.cpp index 9fad9e6..fd9a236 100644 --- a/gps/utils/loc_log.cpp +++ b/gps/utils/loc_log.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include "loc_log.h" #include "msg_q.h" #include diff --git a/gps/utils/platform_lib_abstractions/loc_pla/src/platform_lib_log_util.cpp b/gps/utils/platform_lib_abstractions/loc_pla/src/platform_lib_log_util.cpp index 1c5762b..90bf26d 100644 --- a/gps/utils/platform_lib_abstractions/loc_pla/src/platform_lib_log_util.cpp +++ b/gps/utils/platform_lib_abstractions/loc_pla/src/platform_lib_log_util.cpp @@ -26,6 +26,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include +#include #include "platform_lib_log_util.h" #include "platform_lib_macros.h" -- cgit v1.2.3