pine64 / blisp

ISP tool & library for Bouffalo Labs RISC-V Microcontrollers and SoCs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ssize_t` may need `sys/types.h`

barracuda156 opened this issue · comments

In parse_file.h <sys/types.h> is missing:

In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_sysutils_blisp/blisp/work/blisp-0.0.4/tools/blisp/src/file_parsers/parse_file.c:1:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_sysutils_blisp/blisp/work/blisp-0.0.4/tools/blisp/src/file_parsers/parse_file.h:25:1: error: unknown type name 'ssize_t'; did you mean 'size_t'?
   25 | ssize_t get_file_contents(const char* file_path_on_disk,
      | ^~~~~~~
      | size_t