cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_attr_setscope.c -o pthread/pthread_attr_setscope -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_attr_setscope.c: In function ‘main’: pthread/pthread_attr_setscope.c:10:21: error: ‘PTHREAD_SCOPE_SYSTEM’ undeclared (first use in this function) 10 | int scope = PTHREAD_SCOPE_SYSTEM; | ^~~~~~~~~~~~~~~~~~~~ pthread/pthread_attr_setscope.c:10:21: note: each undeclared identifier is reported only once for each function it appears in pthread/pthread_attr_setscope.c:14:23: error: implicit declaration of function ‘pthread_attr_setscope’; did you mean ‘pthread_attr_destroy’? [-Wimplicit-function-declaration] 14 | if ( (errno = pthread_attr_setscope(&attr, scope)) ) | ^~~~~~~~~~~~~~~~~~~~~ | pthread_attr_destroy