Correct the following: make[2]: Entering directory '/root/sources/selinux-testsuite/tests/setnice' cc parent.c -lselinux -o parent parent.c: In function 'main': parent.c:92:9: warning: implicit declaration of function 'setpriority' rc = setpriority(0,pid,10); ^ Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx> --- tests/setnice/parent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/setnice/parent.c b/tests/setnice/parent.c index d5a2533..6d3c855 100644 --- a/tests/setnice/parent.c +++ b/tests/setnice/parent.c @@ -3,6 +3,8 @@ #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> +#include <sys/time.h> +#include <sys/resource.h> #include <signal.h> #include <selinux/selinux.h> #include <selinux/context.h> _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.