From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id t54KwL1F021414 for ; Thu, 4 Jun 2015 16:58:21 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 9B787B8149 for ; Thu, 4 Jun 2015 20:58:19 +0000 (UTC) Subject: [PATCH v3 4/6] selinux-testsuite: fix compile warnings in tests/setnice From: Paul Moore To: selinux@tycho.nsa.gov Date: Thu, 04 Jun 2015 16:58:18 -0400 Message-ID: <20150604205818.19614.97266.stgit@localhost> In-Reply-To: <20150604205708.19614.64746.stgit@localhost> References: <20150604205708.19614.64746.stgit@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: 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 --- 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 #include #include +#include +#include #include #include #include