From 4d86a3c6c16291be756a94197f73a5ad57a9a0af Mon Sep 17 00:00:00 2001 From: Ritvik Date: Wed, 21 Feb 2024 20:43:04 -0500 Subject: [PATCH] Fix conflicts of min and max from stl_algo.h (included from atomic) --- src/components/ble/HeartRateService.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ble/HeartRateService.h b/src/components/ble/HeartRateService.h index 72632c96..3f32fd09 100644 --- a/src/components/ble/HeartRateService.h +++ b/src/components/ble/HeartRateService.h @@ -2,9 +2,9 @@ #define min // workaround: nimble's min/max macros conflict with libstdc++ #define max #include -#include #undef max #undef min +#include namespace Pinetime { namespace Controllers {