void-packages/srcpkgs/mhddfs/patches/fix-build.patch

33 lines
628 B
Diff

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
--- a/src/main.c
+++ b/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
--- a/src/tools.c
+++ b/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"