summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/getntacl.c2
-rw-r--r--source4/utils/setntacl.c2
-rw-r--r--source4/utils/setnttoken.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/utils/getntacl.c b/source4/utils/getntacl.c
index 0d6e86bf3b..2a35c93387 100644
--- a/source4/utils/getntacl.c
+++ b/source4/utils/getntacl.c
@@ -22,7 +22,7 @@
#include "includes.h"
-#ifdef HAVE_NO_ACLS
+#if (!defined(HAVE_NO_ACLS) || !defined(HAVE_XATTR_SUPPORT))
int main(int argc, char **argv)
{
diff --git a/source4/utils/setntacl.c b/source4/utils/setntacl.c
index 2ac6e6d6f3..a65a014f26 100644
--- a/source4/utils/setntacl.c
+++ b/source4/utils/setntacl.c
@@ -22,7 +22,7 @@
#include "includes.h"
-#ifdef HAVE_NO_ACLS
+#if (!defined(HAVE_NO_ACLS) || !defined(HAVE_XATTR_SUPPORT))
int main(int argc, char **argv)
{
diff --git a/source4/utils/setnttoken.c b/source4/utils/setnttoken.c
index e3f699fce4..b3b11a78ca 100644
--- a/source4/utils/setnttoken.c
+++ b/source4/utils/setnttoken.c
@@ -22,7 +22,7 @@
#include "includes.h"
-#ifdef HAVE_NO_ACLS
+#if (!defined(HAVE_NO_ACLS) || !defined(HAVE_XATTR_SUPPORT))
int main(int argc, char **argv)
{