summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-23 19:14:25 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-23 19:14:25 +0000
commitf5017cb0f6a6f744b48fecc3228d68208593fbe9 (patch)
tree31e835d4e0b2e98f95e35a60c177742d0cfc2ba8 /src/system.h
parent7b1ba27c958ba4593d7a1e741ee4cb30ff95826c (diff)
downloadcoreutils-f5017cb0f6a6f744b48fecc3228d68208593fbe9.tar.xz
* src/system.h (EDQUOT): Define if not already defined.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h7
1 files changed, 5 insertions, 2 deletions
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>