mhddfs: fix build

This commit is contained in:
q66 2020-01-01 22:44:38 +01:00
parent 5898422314
commit 02933c934e
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
commit 54339f12f306f19f7f7cf8a3a774734664c0364d
Author: q66 <daniel@octaforge.org>
Date: Wed Jan 1 22:42:38 2020 +0100
fix build
diff --git src/main.c src/main.c
index 6dc3230..1dfb3ef 100644
--- src/main.c
+++ src/main.c
@@ -34,7 +34,7 @@
#include <utime.h>
#ifndef WITHOUT_XATTR
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#endif
#include "parse_options.h"
diff --git src/tools.c src/tools.c
index c427b82..69747a8 100644
--- src/tools.c
+++ src/tools.c
@@ -32,7 +32,7 @@
#include <dirent.h>
#ifndef WITHOUT_XATTR
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#endif
#include "tools.h"