--- fsarchiver-0.6.19.orig/src/oper_restore.c +++ fsarchiver-0.6.19/src/oper_restore.c @@ -19,12 +19,13 @@ # include "config.h" #endif +#include #include #include #include #include #include -#include +#include #include #include #include --- fsarchiver-0.6.19.orig/src/oper_save.c +++ fsarchiver-0.6.19/src/oper_save.c @@ -28,7 +28,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -57,6 +58,10 @@ #include "error.h" #include "queue.h" +#ifndef ENOATTR +#define ENOATTR ENODATA +#endif + typedef struct s_savear { carchwriter ai; cregmulti regmulti; --- fsarchiver-0.6.19.orig/configure.ac +++ fsarchiver-0.6.19/configure.ac @@ -88,7 +88,7 @@ PKG_CHECK_MODULES([BLKID], [blkid]) PKG_CHECK_MODULES([UUID], [uuid]) dnl Check for header files installed with a library -AC_CHECK_HEADER([attr/xattr.h],, [AC_MSG_ERROR([attr/xattr.h not found. you may have to install a package called attr, libattr, libattr-devel])]) +AC_CHECK_HEADER([sys/xattr.h],, [AC_MSG_ERROR([sys/xattr.h not found. you may have to install a package called attr, libattr, libattr-devel])]) dnl Check for standard header files. AC_CHECK_HEADERS([malloc.h unistd.h pthread.h])