1 parent 50fea19 commit ba2c503Copy full SHA for ba2c503
1 file changed
esp8266/mpconfigport.h
@@ -116,6 +116,8 @@ typedef void *machine_ptr_t; // must be of pointer size
116
typedef const void *machine_const_ptr_t; // must be of pointer size
117
typedef long mp_off_t;
118
typedef uint32_t sys_prot_t; // for modlwip
119
+// ssize_t, off_t as required by POSIX-signatured functions in stream.h
120
+#include <sys/types.h>
121
122
#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
123
0 commit comments