glibc still ships a very old quota.h copy, which is incompatible with the current quota implementation used the last years and part of kernel 2.6. We should remove this file complete or update it with the attached patch.
Created attachment 349 [details] Patch to sync quota.h with current 2.6 kernel interface
Subject: Bug 653 CVSROOT: /cvs/glibc Module name: libc Branch: glibc-2_3-branch Changes by: roland@sources.redhat.com 2005-07-18 02:07:37 Modified files: sysdeps/unix/sysv/linux/sys: quota.h Log message: 2005-06-20 Jakub Jelinek <jakub@redhat.com> [BZ #653] * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for _LINUX_QUOTA_VERSION >= 2. (_LINUX_QUOTA_VERSION): Define if not yet defined. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/sys/quota.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.7&r2=1.7.6.1
This fix is now in the 2.3 branch as well as the trunk, and the problem should be resolved as of the 2.3.6 release.