fix(esp_hal_sd): include <stddef.h> for offsetof in sdio_slave_hal.c

picolibc with C23 no longer exposes <stddef.h> implicitly through
other headers; add the explicit include for `offsetof`.
This commit is contained in:
Sudeep Mohanty
2026-05-21 10:05:48 +02:00
parent 7e5588fd6a
commit 964c438587
+1
View File
@@ -7,6 +7,7 @@
// The HAL layer for SDIO slave (common part)
#include <string.h>
#include <stddef.h>
#include <inttypes.h>
#include "soc/sdio_slc_struct.h"
#include "soc/sdio_hinf_struct.h"