diff options
-rw-r--r-- | extmod/axtls-include/axtls_os_port.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extmod/axtls-include/axtls_os_port.h b/extmod/axtls-include/axtls_os_port.h index ef2683acf..057642f97 100644 --- a/extmod/axtls-include/axtls_os_port.h +++ b/extmod/axtls-include/axtls_os_port.h @@ -26,7 +26,11 @@ #ifndef AXTLS_OS_PORT_H #define AXTLS_OS_PORT_H +#ifndef __ets__ +#include <arpa/inet.h> +#endif #include <errno.h> +#include <sys/time.h> #include "py/stream.h" #include "lib/crypto-algorithms/sha256.h" |