]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/unix.h
Log warnings instead of exiting when increasing rlimits doesn't work out
[netatalk.git] / etc / afpd / unix.h
index c663ecac2371ac98dc7915ee72ac700fb9b8116f..be7b7bfb4aa5bd3f8848f9ce4c31be1f80306c0e 100644 (file)
@@ -59,6 +59,7 @@ typedef int   mode_t;
 
 
 #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 long quotactl (unsigned int, const char *, int, caddr_t);
 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 */