mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user