From patchwork Thu May 24 14:04:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Wendler X-Patchwork-Id: 10424791 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5468A6032A for ; Thu, 24 May 2018 14:04:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33267294D1 for ; Thu, 24 May 2018 14:04:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23E8C29518; Thu, 24 May 2018 14:04:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6515C294D1 for ; Thu, 24 May 2018 14:04:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967545AbeEXOEU (ORCPT ); Thu, 24 May 2018 10:04:20 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:40840 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965515AbeEXOEU (ORCPT ); Thu, 24 May 2018 10:04:20 -0400 Received: from localhost (p54A9D429.dip0.t-ipconnect.de [84.169.212.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: polynomial-c) by smtp.gentoo.org (Postfix) with ESMTPSA id 96052335C07; Thu, 24 May 2018 14:04:19 +0000 (UTC) From: Lars Wendler To: linux-integrity@vger.kernel.org Cc: Lars Wendler Subject: [PATCH] ima-evm-utils: attr/xattr.h is deprecated. Use sys/xattr.h instead Date: Thu, 24 May 2018 16:04:10 +0200 Message-Id: <20180524140410.16988-1-polynomial-c@gentoo.org> X-Mailer: git-send-email 2.17.0 Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP See also: http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38 --- configure.ac | 2 +- src/evmctl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0497eb7..1f017e2 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ AC_SUBST(OPENSSL_LIBS) AC_CHECK_HEADER(unistd.h) AC_CHECK_HEADERS(openssl/conf.h) -AC_CHECK_HEADERS(attr/xattr.h, , [AC_MSG_ERROR([attr/xattr.h header not found. You need the libattr development package.])]) +AC_CHECK_HEADERS(sys/xattr.h, , [AC_MSG_ERROR([sys/xattr.h header not found.])]) AC_CHECK_HEADERS(keyutils.h, , [AC_MSG_ERROR([keyutils.h header not found. You need the libkeyutils development package.])]) #debug support - yes for a while diff --git a/src/evmctl.c b/src/evmctl.c index 2ffee78..3fbcd33 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include #include #include