void-packages/srcpkgs/mhddfs/patches/fix-build.patch
2020-01-02 18:13:33 +01:00

32 lines
620 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
--- 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"