summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-19 21:56:49 +0000
committerGerald Carter <jerry@samba.org>2004-02-19 21:56:49 +0000
commit1568785f699d7616bd2028d4fa3269adf8663de1 (patch)
tree50731e8faf31a6d7247dc6afcc53cf5cbf7a252a /source3
parentee5e7e49251f9149367dcf0fb5f2d49d88d9a330 (diff)
downloadsamba-1568785f699d7616bd2028d4fa3269adf8663de1.tar.gz
samba-1568785f699d7616bd2028d4fa3269adf8663de1.tar.bz2
samba-1568785f699d7616bd2028d4fa3269adf8663de1.zip
check for <sys/xattr.h>; needed by Debian testing
(This used to be commit fb90b4140ec45ff4088c41dffce3680b5c4dc170)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
-rw-r--r--source3/include/includes.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 7cc42fe5bd..0dd5813527 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -625,7 +625,7 @@ AC_CHECK_HEADERS(shadow.h netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/
AC_CHECK_HEADERS(nss.h nss_common.h nsswitch.h ns_api.h sys/security.h security/pam_appl.h security/pam_modules.h)
AC_CHECK_HEADERS(stropts.h poll.h)
AC_CHECK_HEADERS(sys/capability.h syscall.h sys/syscall.h)
-AC_CHECK_HEADERS(sys/acl.h sys/attributes.h attr/xattr.h sys/cdefs.h glob.h)
+AC_CHECK_HEADERS(sys/acl.h sys/attributes.h attr/xattr.h sys/xattr.h sys/cdefs.h glob.h)
# For experimental utmp support (lastlog on some BSD-like systems)
AC_CHECK_HEADERS(utmp.h utmpx.h lastlog.h)
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1867aeda12..5b0e6cd7d2 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -441,6 +441,10 @@
#include <attr/xattr.h>
#endif
+#if HAVE_SYS_XATTR_H
+#include <sys/xattr.h>
+#endif
+
#if HAVE_LOCALE_H
#include <locale.h>
#endif