diff --git a/SConstruct b/SConstruct index 73c66690ade338..67acd3eac4637f 100644 --- a/SConstruct +++ b/SConstruct @@ -189,6 +189,7 @@ env = Environment( "-Wno-inconsistent-missing-override", "-Wno-c99-designator", "-Wno-reorder-init-list", + "-Wno-error=unused-but-set-variable", ] + cflags + ccflags, CPPPATH=cpppath + [ diff --git a/selfdrive/ui/navd/route_engine.h b/selfdrive/ui/navd/route_engine.h index 5b8de698a96bb3..9a6c99041732aa 100644 --- a/selfdrive/ui/navd/route_engine.h +++ b/selfdrive/ui/navd/route_engine.h @@ -1,5 +1,7 @@ #pragma once +#include + #include #include #include diff --git a/selfdrive/ui/ui.h b/selfdrive/ui/ui.h index ad754b550b995a..46cbae63fb035d 100644 --- a/selfdrive/ui/ui.h +++ b/selfdrive/ui/ui.h @@ -3,6 +3,7 @@ #include #include #include +#include #include #include