]> wimlib.net Git - wimlib/commitdiff
Fix build without new libntfs-3g
authorEric Biggers <ebiggers3@gmail.com>
Thu, 30 Aug 2012 18:03:28 +0000 (13:03 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 30 Aug 2012 18:03:28 +0000 (13:03 -0500)
src/ntfs-3g_security.c

index 4b26eb2f0998e615dcf9be51f6a6c883f857bbe5..7c8dec3c504db8dace198cadd1c1afc19bc36ed5 100644 (file)
 #include "config.h"
 #endif
 
 #include "config.h"
 #endif
 
+#ifdef ENABLE_XATTR
+#define HAVE_SETXATTR
+#endif
+
 #include <stdarg.h>
 
 #include <stdarg.h>
 
-/*#ifdef HAVE_STDIO_H*/
 #include <stdio.h>
 #include <stdio.h>
-/*#endif*/
-#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
 #include <string.h>
 #include <string.h>
-#endif
-/*#ifdef HAVE_ERRNO_H*/
 #include <errno.h>
 #include <errno.h>
-/*#endif*/
-/*#ifdef HAVE_FCNTL_H*/
 #include <fcntl.h>
 #include <fcntl.h>
-/*#endif*/
 #ifdef HAVE_SETXATTR
 #include <sys/xattr.h>
 #endif
 #ifdef HAVE_SETXATTR
 #include <sys/xattr.h>
 #endif