mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-15 14:59:34 +01:00
fix(esp_modem): linux port to work with lwip-2.1.2
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
#define ESP_MODEM_C_API_STR_MAX 64
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRLCPY
|
||||
size_t strlcpy(char *dest, const char *src, size_t len);
|
||||
#endif
|
||||
|
||||
//
|
||||
// C API definitions
|
||||
using namespace esp_modem;
|
||||
|
||||
Reference in New Issue
Block a user