x86_64-managarm-gcc -pthread -Wall -Wextra -Werror=implicit-function-declaration mqueue/mq_timedreceive.c -o mqueue/mq_timedreceive -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv -lintl -liconv mqueue/mq_timedreceive.c: In function ‘main’: mqueue/mq_timedreceive.c:102:14: error: implicit declaration of function ‘mq_send’ [-Wimplicit-function-declaration] 102 | if ( mq_send(mq, "foo", 3, 1) < 0 ) | ^~~~~~~ mqueue/mq_timedreceive.c:112:18: error: implicit declaration of function ‘mq_timedreceive’; did you mean ‘mq_receive’? [-Wimplicit-function-declaration] 112 | amount = mq_timedreceive(mq, buf, sizeof(buf), &prio, &now); | ^~~~~~~~~~~~~~~ | mq_receive