summaryrefslogtreecommitdiff
path: root/source3/smbd/quotas.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-11-13 21:54:31 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-11-13 21:54:31 +0000
commit7cfe3919f3703eb5aad838b34ceba472865cf081 (patch)
tree2efda26a277d5ea0a7d7ff31891ab417d1d2c582 /source3/smbd/quotas.c
parent321f78b1b9496012f551972bf9d9056a6949e495 (diff)
downloadsamba-7cfe3919f3703eb5aad838b34ceba472865cf081.tar.gz
samba-7cfe3919f3703eb5aad838b34ceba472865cf081.tar.bz2
samba-7cfe3919f3703eb5aad838b34ceba472865cf081.zip
small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by Metze)
(This used to be commit da8794afe8ca8f454937f06d1c43cc5d844b6037)
Diffstat (limited to 'source3/smbd/quotas.c')
-rw-r--r--source3/smbd/quotas.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index 39cb8f2432..90fd4bbdac 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -56,6 +56,11 @@ BOOL disk_quotas_vxfs(const pstring name, char *path, SMB_BIG_UINT *bsize, SMB_B
#include <linux/quota.h>
#ifdef HAVE_LINUX_XQM_H
#include <linux/xqm.h>
+#else
+#ifdef HAVE_XFS_XQM_H
+#include <xfs/xqm.h>
+#define HAVE_LINUX_XQM_H
+#endif
#endif
#include <mntent.h>