LibTerm
LibTerm copied to clipboard
when I run ./setup.sh got this.
./ios_error.h:67:24: error: unknown type name 'pid_t' extern int ios_killpid(pid_t pid, int sig); // kill the current running command ^ ./ios_error.h:74:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] extern const pthread_t ios_getLastThreadId(void); ^~~~~~ 1 warning and 1 error generated. make: *** [src/bc/lex.o] Error 1
OK . I got it .
Add this include head line to bc/ios_errors.h
#include <sys/types.h>
Ok. I will search for another solution without modifying this code because it comes from another project. I think changing C dialect could work.