summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-07 15:59:16 +0200
committerBjörn Jacke <bj@sernet.de>2012-09-07 16:42:15 +0200
commit31e58a1fcea6e870eae1aa4b5dfb807bce97cf74 (patch)
tree985a49acf352ee5be2e02d283a9777ce2d202baa /source3
parent5c3769b056ee0e7c2243907dc87714587695ea2a (diff)
downloadsamba-31e58a1fcea6e870eae1aa4b5dfb807bce97cf74.tar.gz
samba-31e58a1fcea6e870eae1aa4b5dfb807bce97cf74.tar.bz2
samba-31e58a1fcea6e870eae1aa4b5dfb807bce97cf74.zip
s3:sysquota-test: include ufs/ufs/quota.h only when found
Diffstat (limited to 'source3')
-rw-r--r--source3/tests/sysquotas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/tests/sysquotas.c b/source3/tests/sysquotas.c
index e9a699c95a..68f8a1c976 100644
--- a/source3/tests/sysquotas.c
+++ b/source3/tests/sysquotas.c
@@ -51,7 +51,9 @@
#include <sys/quota.h>
#else /* *BSD */
#include <sys/types.h>
+#ifdef HAVE_UFS_UFS_QUOTA_H
#include <ufs/ufs/quota.h>
+#endif
#include <machine/param.h>
#endif