From f5017cb0f6a6f744b48fecc3228d68208593fbe9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 23 Aug 2006 19:14:25 +0000 Subject: [PATCH] * src/system.h (EDQUOT): Define if not already defined. --- ChangeLog | 3 +++ src/system.h | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2010825bc4..c046246868 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-08-23 Paul Eggert + * 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 ff1161943c..e395fbeaeb 100644 --- a/src/system.h +++ b/src/system.h @@ -104,12 +104,15 @@ you must include before including this file #include /* 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 #include -- 2.47.3