diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index b4c39cafb5..4df0ed81cb 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -9,6 +9,7 @@ #include #include +#include "common/swaglog.h" #include "common/timing.h" #include "selfdrive/ui/qt/util.h" #ifdef ENABLE_MAPS diff --git a/system/camerad/cameras/camera_common.cc b/system/camerad/cameras/camera_common.cc index 8943fb4cba..f74fb15bff 100644 --- a/system/camerad/cameras/camera_common.cc +++ b/system/camerad/cameras/camera_common.cc @@ -1,12 +1,7 @@ #include "system/camerad/cameras/camera_common.h" -#include - #include -#include -#include #include -#include #include "third_party/libyuv/include/libyuv.h" #include @@ -14,7 +9,6 @@ #include "common/clutil.h" #include "common/swaglog.h" #include "common/util.h" -#include "system/hardware/hw.h" #include "third_party/linux/include/msm_media_info.h" #include "system/camerad/cameras/camera_qcom2.h" diff --git a/system/camerad/cameras/camera_common.h b/system/camerad/cameras/camera_common.h index d56f20894a..029d69990c 100644 --- a/system/camerad/cameras/camera_common.h +++ b/system/camerad/cameras/camera_common.h @@ -1,18 +1,12 @@ #pragma once -#include -#include +#include #include #include #include "cereal/messaging/messaging.h" -#include "cereal/visionipc/visionbuf.h" -#include "cereal/visionipc/visionipc.h" #include "cereal/visionipc/visionipc_server.h" -#include "common/mat.h" #include "common/queue.h" -#include "common/swaglog.h" -#include "system/hardware/hw.h" const int YUV_BUFFER_COUNT = 20; diff --git a/system/camerad/cameras/camera_qcom2.cc b/system/camerad/cameras/camera_qcom2.cc index 7f2118e7e4..afb7805d3e 100644 --- a/system/camerad/cameras/camera_qcom2.cc +++ b/system/camerad/cameras/camera_qcom2.cc @@ -1,17 +1,12 @@ #include "system/camerad/cameras/camera_qcom2.h" -#include #include #include -#include -#include #include -#include #include #include #include -#include #include #include #include @@ -19,6 +14,7 @@ #include "media/cam_defs.h" #include "media/cam_isp.h" #include "media/cam_isp_ife.h" +#include "media/cam_req_mgr.h" #include "media/cam_sensor_cmn_header.h" #include "media/cam_sync.h" #include "common/swaglog.h" diff --git a/system/camerad/cameras/camera_qcom2.h b/system/camerad/cameras/camera_qcom2.h index d61c087f7c..47ca578b99 100644 --- a/system/camerad/cameras/camera_qcom2.h +++ b/system/camerad/cameras/camera_qcom2.h @@ -1,11 +1,8 @@ #pragma once -#include #include #include -#include - #include "system/camerad/cameras/camera_common.h" #include "system/camerad/cameras/camera_util.h" #include "system/camerad/sensors/sensor.h" diff --git a/system/camerad/sensors/ar0231.cc b/system/camerad/sensors/ar0231.cc index 9a657982a8..559370ca62 100644 --- a/system/camerad/sensors/ar0231.cc +++ b/system/camerad/sensors/ar0231.cc @@ -1,5 +1,6 @@ #include +#include "common/swaglog.h" #include "system/camerad/cameras/camera_common.h" #include "system/camerad/cameras/camera_qcom2.h" #include "system/camerad/sensors/sensor.h" diff --git a/tools/cabana/streams/replaystream.cc b/tools/cabana/streams/replaystream.cc index c61c81d56f..aff0122b47 100644 --- a/tools/cabana/streams/replaystream.cc +++ b/tools/cabana/streams/replaystream.cc @@ -6,6 +6,8 @@ #include #include +#include "common/timing.h" + ReplayStream::ReplayStream(QObject *parent) : AbstractStream(parent) { unsetenv("ZMQ"); setenv("COMMA_CACHE", "/tmp/comma_download_cache", 1); diff --git a/tools/replay/consoleui.cc b/tools/replay/consoleui.cc index 3332aa9c90..54056c6cd5 100644 --- a/tools/replay/consoleui.cc +++ b/tools/replay/consoleui.cc @@ -7,6 +7,7 @@ #include +#include "common/util.h" #include "common/version.h" namespace {