diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-23 19:14:25 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-23 19:14:25 +0000 |
commit | f5017cb0f6a6f744b48fecc3228d68208593fbe9 (patch) | |
tree | 31e835d4e0b2e98f95e35a60c177742d0cfc2ba8 | |
parent | 7b1ba27c958ba4593d7a1e741ee4cb30ff95826c (diff) | |
download | coreutils-f5017cb0f6a6f744b48fecc3228d68208593fbe9.tar.xz |
* src/system.h (EDQUOT): Define if not already defined.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/system.h | 7 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2006-08-23 Paul Eggert <eggert@cs.ucla.edu> + * src/system.h (EDQUOT): Define if not already defined. + Problem reported by Bruno Haible for BeOS. + * .cvsignore: Remove config.h, config.hin, as they are now in lib. * configure.ac (AC_CONFIG_HEADERS): Move config.h and config.hin diff --git a/src/system.h b/src/system.h index ff1161943..e395fbeae 100644 --- a/src/system.h +++ b/src/system.h @@ -104,12 +104,15 @@ you must include <sys/types.h> before including this file #include <errno.h> /* Some systems don't define the following symbols. */ -#ifndef ENOSYS -# define ENOSYS (-1) +#ifndef EDQUOT +# define EDQUOT (-1) #endif #ifndef EISDIR # define EISDIR (-1) #endif +#ifndef ENOSYS +# define ENOSYS (-1) +#endif #include <stdbool.h> #include <stdlib.h> |