--- davfs2-1.4.7.orig/src/cache.c 2012-07-19 13:26:00.000000000 +0200 +++ davfs2-1.4.7/src/cache.c 2014-01-01 20:01:21.000000000 +0100 @@ -24,7 +24,6 @@ #include <dirent.h> #endif #include <errno.h> -#include <error.h> #ifdef HAVE_FCNTL_H #include <fcntl.h> #endif @@ -55,7 +54,6 @@ #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#include <sys/xattr.h> #include <ne_alloc.h> #include <ne_string.h>