client.c: In function ‘ops_inject_msg’: client.c:151:15: warning: implicit declaration of function ‘send’ [-Wimplicit-function-declaration] 151 | ret = send(oinfo->sock, &msg, sizeof(msg), 0); | ^~~~ client.c: In function ‘recv_otr_msg’: client.c:553:15: warning: implicit declaration of function ‘recv’ [-Wimplicit-function-declaration] 553 | ret = recv(sock, &omsg, sizeof(omsg), 0); | ^~~~ client.c: In function ‘alice_thread’: client.c:624:23: warning: implicit declaration of function ‘socket’ [-Wimplicit-function-declaration] 624 | sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~ client.c:624:30: error: ‘PF_UNIX’ undeclared (first use in this function) 624 | sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~ client.c:624:30: note: each undeclared identifier is reported only once for each function it appears in client.c:624:39: error: ‘SOCK_STREAM’ undeclared (first use in this function) 624 | sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~~~~~ client.c:638:15: warning: implicit declaration of function ‘connect’ [-Wimplicit-function-declaration] 638 | ret = connect(sock_to_bob, (struct sockaddr *) &bob_sun, | ^~~~~~~ client.c:725:57: warning: implicit declaration of function ‘accept’; did you mean ‘acct’? [-Wimplicit-function-declaration] 725 | sock_from_bob = accept(fd, (struct sockaddr *) &sun, | ^~~~~~ | acct client.c: In function ‘bob_thread’: client.c:776:32: error: ‘PF_UNIX’ undeclared (first use in this function) 776 | sock_to_alice = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~ client.c:776:41: error: ‘SOCK_STREAM’ undeclared (first use in this function) 776 | sock_to_alice = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~~~~~ client.c: In function ‘create_unix_socket’: client.c:979:28: error: ‘PF_UNIX’ undeclared (first use in this function) 979 | if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) { | ^~~~~~~ client.c:979:37: error: ‘SOCK_STREAM’ undeclared (first use in this function) 979 | if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) { | ^~~~~~~~~~~ client.c:986:27: error: ‘AF_UNIX’ undeclared (first use in this function) 986 | sun->sun_family = AF_UNIX; | ^~~~~~~ client.c:990:15: warning: implicit declaration of function ‘bind’ [-Wimplicit-function-declaration] 990 | ret = bind(sock, (struct sockaddr *) sun, sizeof(struct sockaddr_un)); | ^~~~ client.c:996:15: warning: implicit declaration of function ‘listen’ [-Wimplicit-function-declaration] 996 | ret = listen(sock, 10); | ^~~~~~