mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 15:04:22 +00:00
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
//Do not edit this file because it is autogenerated by gen_esp_err_to_name.py
|
||||
|
||||
#include <string.h>
|
||||
#if __has_include(<bsd/string.h>)
|
||||
// for strlcpy
|
||||
#include <bsd/string.h>
|
||||
#endif
|
||||
#include "esp_err.h"
|
||||
#if __has_include("soc/soc.h")
|
||||
#include "soc/soc.h"
|
||||
|
Reference in New Issue
Block a user