summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-au
blob: bbb18233f233b62ba9847a4a238fc1c0e998003f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- etc/afpd/unix.h.orig	2011-03-24 16:40:15.000000000 +0100
+++ etc/afpd/unix.h	2011-03-24 16:43:15.000000000 +0100
@@ -59,6 +59,7 @@
 
 
 #ifndef NO_QUOTA_SUPPORT
+#if !defined(HAVE_LIBQUOTA)
 
 #if !(defined(__svr4__) || defined(HAVE_DQB_BTIMELIMIT))
 #define dqb_btimelimit  dqb_btime
@@ -211,6 +212,7 @@
 extern int getnfsquota (struct vol *, const int, const u_int32_t,
                                 struct dqblk *);
 
+#endif /* ! HAVE_LIBQUOTA */
 extern int uquota_getvolspace (struct vol *, VolSpace *, VolSpace *,
                                        const u_int32_t);
 #endif /* NO_QUOTA_SUPPORT */