uClibc-ng since 1.0.18 has sys/quota.h synced with GNU libc

This commit is contained in:
Waldemar Brodkorb 2016-10-19 19:33:35 +02:00
parent 1ce80c1c20
commit bae138ca22
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ getquota (const char * device)
spaceused = (int64_t) dq.dqb_curblocks >> 1;
#elif defined(__APPLE__)
spaceused = (int64_t) dq.dqb_curbytes;
#elif defined(__UCLIBC__)
#elif defined (__UCLIBC__) && !TR_UCLIBC_CHECK_VERSION (1, 0, 18)
spaceused = (int64_t) btodb(dq.dqb_curblocks);
#elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2)
spaceused = (int64_t) dq.dqb_curblocks >> 1;