[Pkg-libvirt-commits] [libguestfs] 129/179: fuse: test-fuse: enclose acl vars within HAVE_ACL

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 31 19:08:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 471ed473cf8d20020f1df90e86ff142072d198f6
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Thu Oct 16 11:55:33 2014 +0200

    fuse: test-fuse: enclose acl vars within HAVE_ACL
    
    Enclose the acl-related variables within a #ifdef HAVE_ACL block, so
    when building without acl support and -Werror it can build.
---
 fuse/test-fuse.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fuse/test-fuse.c b/fuse/test-fuse.c
index b675a4c..a341994 100644
--- a/fuse/test-fuse.c
+++ b/fuse/test-fuse.c
@@ -251,8 +251,10 @@ test_fuse (void)
   int fd;
   struct timeval tv[2];
   struct timespec ts[2];
+#ifdef HAVE_ACL
   acl_t acl;
   char *acl_text;
+#endif
 
   STAGE ("checking initial files exist");
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list