From c627d6a6400149caf34886f12a251e7d14aa6998 Mon Sep 17 00:00:00 2001 From: didg Date: Wed, 8 Feb 2006 05:14:12 +0000 Subject: [PATCH] patch from Justin Mazzola Paluska for quota on linux 2.6 and xfs --- etc/afpd/quota.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/afpd/quota.c b/etc/afpd/quota.c index ea2e6b8b..6654d4e5 100644 --- a/etc/afpd/quota.c +++ b/etc/afpd/quota.c @@ -1,5 +1,5 @@ /* - * $Id: quota.c,v 1.25 2005-04-28 20:49:44 bfernhomberg Exp $ + * $Id: quota.c,v 1.26 2006-02-08 05:14:12 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -67,6 +67,11 @@ static int overquota( struct dqblk *); #ifdef HAVE_XFS_XQM_H #include #define HAVE_LINUX_XQM_H +#else +#ifdef HAVE_LINUX_DQBLK_XFS_H +#include +#define HAVE_LINUX_XQM_H +#endif /* HAVE_LINUX_DQBLK_XFS_H */ #endif /* HAVE_XFS_XQM_H */ #endif /* HAVE_LINUX_XQM_H */ -- 2.39.2