summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metaentry.c3
-rw-r--r--metastore.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/metaentry.c b/metaentry.c
index 1f45fca..3ed37e8 100644
--- a/metaentry.c
+++ b/metaentry.c
@@ -25,13 +25,14 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <limits.h>
#include <dirent.h>
#include <sys/mman.h>
#include <utime.h>
#include <fcntl.h>
#include <stdint.h>
+#include <errno.h>
#include "metastore.h"
#include "metaentry.h"
diff --git a/metastore.c b/metastore.c
index 323525a..83f8555 100644
--- a/metastore.c
+++ b/metastore.c
@@ -23,10 +23,11 @@
#include <sys/stat.h>
#include <getopt.h>
#include <utime.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <errno.h>
#include "metastore.h"
#include "settings.h"