diff --git a/configure.ac b/configure.ac index 0497eb7..a5b4288 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. You need the c-library development package.])]) 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/packaging/ima-evm-utils.spec b/packaging/ima-evm-utils.spec index a11a27a..63388d2 100644 --- a/packaging/ima-evm-utils.spec +++ b/packaging/ima-evm-utils.spec @@ -11,7 +11,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf BuildRequires: automake BuildRequires: openssl-devel -BuildRequires: libattr-devel BuildRequires: keyutils-libs-devel %description diff --git a/packaging/ima-evm-utils.spec.in b/packaging/ima-evm-utils.spec.in index 7ca6c6f..65c32f9 100644 --- a/packaging/ima-evm-utils.spec.in +++ b/packaging/ima-evm-utils.spec.in @@ -11,7 +11,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf BuildRequires: automake BuildRequires: openssl-devel -BuildRequires: libattr-devel BuildRequires: keyutils-libs-devel %description 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