summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-11-13 21:51:08 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-11-13 21:51:08 +0000
commit2aaf85730a187556b60085d6b7707e247863565c (patch)
treeba2aa9016a244c6e8b86fc9df64f609a60e4b5af /source3/smbd
parent38c6b90bf8b288426779f3eedcfd643c65a07ef7 (diff)
downloadsamba-2aaf85730a187556b60085d6b7707e247863565c.tar.gz
samba-2aaf85730a187556b60085d6b7707e247863565c.tar.bz2
samba-2aaf85730a187556b60085d6b7707e247863565c.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 5f16343e0d7c8120a7a5786097b8920a5b7d047b)
Diffstat (limited to 'source3/smbd')
-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>