summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-25 13:21:38 (GMT)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-25 13:21:38 (GMT)
commit126ffbd45f65d3a6940afc8aaacfada8a73ea8a0 (patch)
treeb6fc625a6a8bc3c97a793b6de535a79395fdec40
parent57f820bab9108550907f03828d61525c833004a4 (diff)
sync header with glibc
Fixes a compile error for samba 4.5.0. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-rw-r--r--include/sys/quota.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/sys/quota.h b/include/sys/quota.h
index 088e613..316febe 100644
--- a/include/sys/quota.h
+++ b/include/sys/quota.h
@@ -38,11 +38,6 @@
#include <features.h>
#include <sys/types.h>
-#ifdef __UCLIBC__
-# undef _LINUX_QUOTA_VERSION
-# define _LINUX_QUOTA_VERSION 1
-#endif
-
/*
* Select between different incompatible quota versions.
* Default to the version used by Linux kernel version 2.4.22
@@ -124,6 +119,7 @@
# define Q_SETINFO 0x800006 /* set information about quota files */
# define Q_GETQUOTA 0x800007 /* get user quota structure */
# define Q_SETQUOTA 0x800008 /* set user quota structure */
+# define Q_GETNEXTQUOTA 0x800009 /* get disk limits and usage >= ID */
#endif
/*