fix(esp_modem): linux port to work with lwip-2.1.2

This commit is contained in:
David Cermak
2021-11-17 13:27:52 +01:00
parent e7ae0301ae
commit 8465b14653
9 changed files with 77 additions and 53 deletions

View File

@ -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;