blob: 3c4b4784840216f0185252a1d6dacda3c7753323 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- etc/afpd/nfsquota.c.orig 2010-06-29 17:30:04.000000000 +0200
+++ etc/afpd/nfsquota.c 2011-03-24 15:42:56.000000000 +0100
@@ -18,7 +18,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifndef NO_QUOTA_SUPPORT
+#if !defined(NO_QUOTA_SUPPORT) && !defined(HAVE_LIBQUOTA)
#include <stdio.h>
/* STDC check */
#if STDC_HEADERS
@@ -185,4 +185,4 @@
*hostpath = ':';
return AFPERR_PARAM;
}
-#endif /* ! NO_QUOTA_SUPPORT */
+#endif /* ! NO_QUOTA_SUPPORT && !HAVE_LIBQUOTA */
|