aboutsummaryrefslogtreecommitdiffstats
path: root/filesystems/mergerfs/files/patch-tools_preload.c
blob: 28580071c50de8218df38ed84d1278c6765e14fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- tools/preload.c.orig	2025-11-18 14:35:27 UTC
+++ tools/preload.c
@@ -33,7 +33,11 @@
 #include <sys/ioctl.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#ifdef __FreeBSD__
+#include <sys/extattr.h>
+#else
 #include <sys/xattr.h>
+#endif
 #include <unistd.h>
 
 typedef char IOCTL_BUF[4096];