Commit b7b8830c authored by Sylvio Alves's avatar Sylvio Alves Committed by Carles Cufi
Browse files

driver: wifi: esp32: remove build warning



Removes strnlen implicit declaration when newlibc
is enabled.

Signed-off-by: default avatarSylvio Alves <sylvio.alves@espressif.com>
parent 9f5eb0f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@

#define DT_DRV_COMPAT espressif_esp32_wifi

#define _POSIX_C_SOURCE 200809

#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(esp32_wifi, CONFIG_WIFI_LOG_LEVEL);