From 153555979bf167e81147914d95e6803dc1adced6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Fri, 2 Jun 2023 10:33:40 +0200 Subject: [PATCH] Fix Linux build break when thread is disabled (#27017) * Fix Linux build break when thread is disabled * Fix bloat check report --- .github/workflows/examples-linux-standalone.yaml | 4 ++-- src/platform/Linux/bluez/ChipDeviceScanner.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml index f80a4691a7d56f..204d3f448a1ca1 100644 --- a/.github/workflows/examples-linux-standalone.yaml +++ b/.github/workflows/examples-linux-standalone.yaml @@ -219,11 +219,11 @@ jobs: run: | ./scripts/run_in_build_env.sh \ "./scripts/build/build_examples.py \ - --target linux-x64-lock \ + --target linux-x64-lock-no-thread \ build" .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ linux debug lock-app \ - out/linux-x64-lock/chip-lock-app \ + out/linux-x64-lock-no-thread/chip-lock-app \ /tmp/bloat_reports/ - name: Build example contact sensor with UI run: | diff --git a/src/platform/Linux/bluez/ChipDeviceScanner.cpp b/src/platform/Linux/bluez/ChipDeviceScanner.cpp index 583a426a6a6d97..26543fe6a78f77 100644 --- a/src/platform/Linux/bluez/ChipDeviceScanner.cpp +++ b/src/platform/Linux/bluez/ChipDeviceScanner.cpp @@ -24,6 +24,7 @@ #include #include +#include #include "BluezObjectList.h" #include "Types.h"