]> wimlib.net Git - wimlib/blobdiff - src/mount_image.c
libattr is no longer needed
[wimlib] / src / mount_image.c
index 6f0c6e1cd1486ed46152c862ba3f3fed851bde39..3641b204c3aec966d938b57d86517f181c5d9589 100644 (file)
@@ -39,9 +39,8 @@
 
 #define FUSE_USE_VERSION 26
 
 
 #define FUSE_USE_VERSION 26
 
-#include <sys/types.h> /* sometimes required before <attr/xattr.h> */
-
-#include <attr/xattr.h>
+#include <sys/types.h> /* sometimes required before <sys/xattr.h> */
+#include <sys/xattr.h>
 #include <dirent.h>
 #include <errno.h>
 #include <fuse.h>
 #include <dirent.h>
 #include <errno.h>
 #include <fuse.h>
 #  define O_NOFOLLOW 0  /* Security only...  */
 #endif
 
 #  define O_NOFOLLOW 0  /* Security only...  */
 #endif
 
+#ifndef ENOATTR
+#  define ENOATTR ENODATA
+#endif
+
 #define WIMFS_MQUEUE_NAME_LEN 32
 
 #define WIMLIB_UNMOUNT_FLAG_SEND_PROGRESS 0x80000000
 #define WIMFS_MQUEUE_NAME_LEN 32
 
 #define WIMLIB_UNMOUNT_FLAG_SEND_PROGRESS 0x80000000