diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-07-14 14:31:18 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-07-14 14:31:18 +0100 |
commit | 74ee9390d3a7063470925d6d78dd9ba73bb4c634 (patch) | |
tree | e02c0039e57fecf9e7462dcce98480f5af1123df /daemon/xattr.c | |
parent | a86aa7d152ed996170714a3a4516eab58bf8b59d (diff) | |
download | libguestfs-74ee9390d3a7063470925d6d78dd9ba73bb4c634.tar.gz libguestfs-74ee9390d3a7063470925d6d78dd9ba73bb4c634.tar.xz libguestfs-74ee9390d3a7063470925d6d78dd9ba73bb4c634.zip |
Fix: daemon/xattr.c can now compile even when no xattr support.
Diffstat (limited to 'daemon/xattr.c')
-rw-r--r-- | daemon/xattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/xattr.c b/daemon/xattr.c index 76f44bbf..70c90705 100644 --- a/daemon/xattr.c +++ b/daemon/xattr.c @@ -21,13 +21,13 @@ #include <stdio.h> #include <unistd.h> -#ifdef HAVE_ATTR_XATTR_H -#include <attr/xattr.h> - #include "../src/guestfs_protocol.h" #include "daemon.h" #include "actions.h" +#ifdef HAVE_ATTR_XATTR_H +#include <attr/xattr.h> + static guestfs_int_xattr_list *getxattrs (char *path, ssize_t (*listxattr) (const char *path, char *list, size_t size), ssize_t (*getxattr) (const char *path, const char *name, void *value, size_t size)); static int _setxattr (char *xattr, char *val, int vallen, char *path, int (*setxattr) (const char *path, const char *name, const void *value, size_t size, int flags)); static int _removexattr (char *xattr, char *path, int (*removexattr) (const char *path, const char *name)); |