--- src/function.c
+++ src/function.c
@@ -8,7 +8,7 @@
#include <dirent.h>
#include <sys/statvfs.h>
#include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <time.h>
#include <pthread.h>
#include <libsmbclient.h>