From a84519820de71be8c3f00f7d560ca68ccbefde1e Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 9 Oct 2009 20:30:10 +0200 Subject: [PATCH] Fix ifdefs --- bacula/src/filed/xattr.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index f97c3c4fce..33391e0fe5 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -588,12 +588,9 @@ static bxattr_exit_code (*os_parse_xattr_streams)(JCR *jcr, int stream) = linux_ defined(HAVE_NETBSD_OS) || \ defined(HAVE_OPENBSD_OS) -#if !defined(HAVE_EXTATTR_GET_LINK) || \ - !defined(HAVE_EXTATTR_SET_LINK) || \ - !defined(HAVE_EXTATTR_LIST_LINK) || \ - !defined(HAVE_EXTATTR_GET_FILE) || \ - !defined(HAVE_EXTATTR_SET_FILE) || \ - !defined(HAVE_EXTATTR_LIST_FILE) || \ +#if (!defined(HAVE_EXTATTR_GET_LINK) && !defined(HAVE_EXTATTR_GET_FILE)) || \ + (!defined(HAVE_EXTATTR_SET_LINK) && !defined(HAVE_EXTATTR_SET_FILE)) || \ + (!defined(HAVE_EXTATTR_LIST_LINK) && !defined(HAVE_EXTATTR_LIST_FILE)) || \ !defined(HAVE_EXTATTR_NAMESPACE_TO_STRING) || \ !defined(HAVE_EXTATTR_STRING_TO_NAMESPACE) #error "Missing full support for the extattr functions." -- 2.39.5