Correct the following: make[2]: Entering directory '/root/sources/selinux-testsuite/tests/nnp' cc execnnp.c -lselinux -o execnnp execnnp.c: In function 'main': execnnp.c:27:9: warning: implicit declaration of function 'strverscmp' (strverscmp(uts.release, "3.18") < 0)); ^ execnnp.c:47:8: warning: implicit declaration of function 'wait' pid = wait(&status); Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx> --- tests/nnp/execnnp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/nnp/execnnp.c b/tests/nnp/execnnp.c index a5a80cf..2563909 100644 --- a/tests/nnp/execnnp.c +++ b/tests/nnp/execnnp.c @@ -1,3 +1,6 @@ + +#define _GNU_SOURCE + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -5,6 +8,8 @@ #include <unistd.h> #include <sys/utsname.h> #include <sys/prctl.h> +#include <sys/types.h> +#include <sys/wait.h> int main(int argc, char **argv) { _______________________________________________ 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.