]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/nfsquota.c
Merge remote branch 'netafp/master' into branch-allea
[netatalk.git] / etc / afpd / nfsquota.c
index 90b84c21e5cf1a16dd7de8724130c1b1dca04f3b..b250c16633991d0a6a36a365f1cd48c585220bdb 100644 (file)
@@ -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>
 #include <string.h>
 #include <sys/types.h>
@@ -172,4 +172,4 @@ int getnfsquota(struct vol *vol, const int uid, const uint32_t bsize,
     *hostpath = ':';
     return AFPERR_PARAM;
 }
-#endif /* ! NO_QUOTA_SUPPORT */
+#endif /* ! NO_QUOTA_SUPPORT && !HAVE_LIBQUOTA */