From 8666ff77066643cc05da065284dae7796b88992a Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 14 Jul 2020 20:12:08 +0200 Subject: [PATCH] Include what you use --- .../acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h | 1 + src/algorithms/input_filter/gnuradio_blocks/notch_cc.h | 2 +- src/algorithms/input_filter/gnuradio_blocks/notch_lite_cc.h | 2 +- src/core/receiver/control_thread.cc | 1 + src/core/receiver/control_thread.h | 1 - src/core/system_parameters/glonass_gnav_navigation_message.cc | 1 - src/core/system_parameters/glonass_gnav_navigation_message.h | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h index 4c462bec0..f03a12288 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h @@ -26,6 +26,7 @@ #include "channel_fsm.h" #include "gnss_synchro.h" #include "pcps_assisted_acquisition_cc.h" +#include #include #include diff --git a/src/algorithms/input_filter/gnuradio_blocks/notch_cc.h b/src/algorithms/input_filter/gnuradio_blocks/notch_cc.h index 452856092..388526a26 100644 --- a/src/algorithms/input_filter/gnuradio_blocks/notch_cc.h +++ b/src/algorithms/input_filter/gnuradio_blocks/notch_cc.h @@ -21,7 +21,6 @@ #define GNSS_SDR_NOTCH_H #if GNURADIO_USES_STD_POINTERS -#include #else #include #endif @@ -29,6 +28,7 @@ #include #include // for volk_gnsssdr::vector #include +#include class Notch; diff --git a/src/algorithms/input_filter/gnuradio_blocks/notch_lite_cc.h b/src/algorithms/input_filter/gnuradio_blocks/notch_lite_cc.h index 857bbc423..2eb2a2eea 100644 --- a/src/algorithms/input_filter/gnuradio_blocks/notch_lite_cc.h +++ b/src/algorithms/input_filter/gnuradio_blocks/notch_lite_cc.h @@ -21,7 +21,6 @@ #define GNSS_SDR_NOTCH_LITE_H #if GNURADIO_USES_STD_POINTERS -#include #else #include #endif @@ -29,6 +28,7 @@ #include #include // for volk_gnsssdr::vector #include +#include class NotchLite; diff --git a/src/core/receiver/control_thread.cc b/src/core/receiver/control_thread.cc index ba9e7d3a9..8b94531e5 100644 --- a/src/core/receiver/control_thread.cc +++ b/src/core/receiver/control_thread.cc @@ -60,6 +60,7 @@ #include // for find, min #include // for milliseconds #include // for floor, fmod, log +#include // for time_t, gmtime, strftime #include // for exception #include // for operator<< #include // for numeric_limits diff --git a/src/core/receiver/control_thread.h b/src/core/receiver/control_thread.h index cbff8fd9d..4d87451f0 100644 --- a/src/core/receiver/control_thread.h +++ b/src/core/receiver/control_thread.h @@ -31,7 +31,6 @@ #include "tcp_cmd_interface.h" // for TcpCmdInterface #include #include // for array -#include // for time_t (gmtime, strftime in implementation) #include // for shared_ptr #include // for string #include // for std::thread diff --git a/src/core/system_parameters/glonass_gnav_navigation_message.cc b/src/core/system_parameters/glonass_gnav_navigation_message.cc index 6dbcaedeb..e28f67ba1 100644 --- a/src/core/system_parameters/glonass_gnav_navigation_message.cc +++ b/src/core/system_parameters/glonass_gnav_navigation_message.cc @@ -24,7 +24,6 @@ #include "gnss_satellite.h" #include #include // for size_t -#include #include // for operator<< diff --git a/src/core/system_parameters/glonass_gnav_navigation_message.h b/src/core/system_parameters/glonass_gnav_navigation_message.h index c165e7a7d..a3c57d21a 100644 --- a/src/core/system_parameters/glonass_gnav_navigation_message.h +++ b/src/core/system_parameters/glonass_gnav_navigation_message.h @@ -30,11 +30,11 @@ #include "glonass_gnav_utc_model.h" #include #include +#include #include #include // for pair #include // for vector - /*! * \brief This class decodes a GLONASS GNAV Data message as described in GLONASS ICD (Edition 5.1) * \note Code added as part of GSoC 2017 program