Browse Source

sync header with glibc

Fixes a compile error for samba 4.5.0.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Waldemar Brodkorb 7 years ago
parent
commit
126ffbd45f
1 changed files with 1 additions and 5 deletions
  1. 1 5
      include/sys/quota.h

+ 1 - 5
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
 
 /*