summaryrefslogtreecommitdiff
path: root/lib/replace/system
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-06-16 15:37:52 +0200
committerJelmer Vernooij <jelmer@samba.org>2012-06-16 18:54:26 +0200
commit8283d9ec4a2d39b3d6f06ad9e98c22a26e78317f (patch)
tree4e9df03fbd7885df7de8d739d8b451cdff6e6d54 /lib/replace/system
parentbd45745b09380c1fa6d0fd32929bd298fdaa4146 (diff)
downloadsamba-8283d9ec4a2d39b3d6f06ad9e98c22a26e78317f.tar.gz
samba-8283d9ec4a2d39b3d6f06ad9e98c22a26e78317f.tar.bz2
samba-8283d9ec4a2d39b3d6f06ad9e98c22a26e78317f.zip
attr: Look for attr/attributes.h too.
Fixes finding of ATTR_ROOT on GNU/kFreeBSD. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Jun 16 18:54:27 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/replace/system')
-rw-r--r--lib/replace/system/filesys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h
index 493d87d7d4..c8ac2b4f74 100644
--- a/lib/replace/system/filesys.h
+++ b/lib/replace/system/filesys.h
@@ -114,6 +114,8 @@
#if HAVE_SYS_ATTRIBUTES_H
#include <sys/attributes.h>
+#elif HAVE_ATTR_ATTRIBUTES_H
+#include <attr/attributes.h>
#endif
/* mutually exclusive (SuSE 8.2) */