From be3a19e454a6436d264b49fc8952033801383f6b Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Tue, 18 Aug 2026 10:50:58 +0200 Subject: [PATCH] fix(esp_hal_pmu): include stddef.h for NULL in rtc_cntl_hal --- components/esp_hal_pmu/esp32c2/rtc_cntl_hal.c | 1 + components/esp_hal_pmu/esp32c3/rtc_cntl_hal.c | 1 + components/esp_hal_pmu/esp32s3/rtc_cntl_hal.c | 1 + 3 files changed, 3 insertions(+) diff --git a/components/esp_hal_pmu/esp32c2/rtc_cntl_hal.c b/components/esp_hal_pmu/esp32c2/rtc_cntl_hal.c index 877953a48b5..367dff3edcc 100644 --- a/components/esp_hal_pmu/esp32c2/rtc_cntl_hal.c +++ b/components/esp_hal_pmu/esp32c2/rtc_cntl_hal.c @@ -6,6 +6,7 @@ // The HAL layer for RTC CNTL (common part) +#include #include "soc/soc_caps.h" #include "soc/lldesc.h" #include "hal/rtc_hal.h" diff --git a/components/esp_hal_pmu/esp32c3/rtc_cntl_hal.c b/components/esp_hal_pmu/esp32c3/rtc_cntl_hal.c index 8c92189f7b3..95ff7ed987f 100644 --- a/components/esp_hal_pmu/esp32c3/rtc_cntl_hal.c +++ b/components/esp_hal_pmu/esp32c3/rtc_cntl_hal.c @@ -6,6 +6,7 @@ // The HAL layer for RTC CNTL (common part) +#include #include "soc/soc_caps.h" #include "soc/lldesc.h" #include "hal/dma_types.h" diff --git a/components/esp_hal_pmu/esp32s3/rtc_cntl_hal.c b/components/esp_hal_pmu/esp32s3/rtc_cntl_hal.c index 42ce5eca073..f8a14cc9f6a 100644 --- a/components/esp_hal_pmu/esp32s3/rtc_cntl_hal.c +++ b/components/esp_hal_pmu/esp32s3/rtc_cntl_hal.c @@ -6,6 +6,7 @@ // The HAL layer for RTC CNTL (common part) +#include #include "hal/rtc_hal.h" #include "soc/soc_caps.h" #include "esp32s3/rom/lldesc.h"