When running the ./run.sh script I am getting this error.
implicit declaration of function 'accept' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ctx->result = accept(s->sock_fd, addr, paddrlen);
^
./Modules/socketmodule.c:2819:19: note: did you mean 'access'?
/opt/wasi-sdk/share/wasi-sysroot/include/unistd.h:118:5: note: 'access' declared here
int access(const char *, int);
^
When running the ./run.sh script I am getting this error.
implicit declaration of function 'accept' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ctx->result = accept(s->sock_fd, addr, paddrlen); ^ ./Modules/socketmodule.c:2819:19: note: did you mean 'access'? /opt/wasi-sdk/share/wasi-sysroot/include/unistd.h:118:5: note: 'access' declared here int access(const char *, int); ^