From: Stelian Pop Date: Mon, 4 Dec 2000 14:00:14 +0000 (+0000) Subject: MNTENT undefined on libc5... X-Git-Tag: release_0_4b21~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a115827665c85aec2587518fbcbca22558fdcb91;p=dump.git MNTENT undefined on libc5... --- diff --git a/CHANGES b/CHANGES index 5d690aa..e144cdf 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.92 2000/11/30 09:53:10 stelian Exp $ +$Id: CHANGES,v 1.93 2000/12/04 14:00:14 stelian Exp $ Changes between versions 0.4b20 and 0.4b21 (released ?????????????????) ======================================================================= @@ -11,6 +11,10 @@ Changes between versions 0.4b20 and 0.4b21 (released ?????????????????) headers (filesystem label related). Thanks to many users who reported this stupid error. +3. Fixed a build problem on old lib5 based systems dealing with + _PATH_MNTTAB being undefined. Thanks to + for reporting the bug. + Changes between versions 0.4b19 and 0.4b20 (released November 10, 2000) ======================================================================= diff --git a/compat/include/fstab.h b/compat/include/fstab.h index 350fbc2..ecab7df 100644 --- a/compat/include/fstab.h +++ b/compat/include/fstab.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000 * - * $Id: fstab.h,v 1.7 2000/11/10 14:42:24 stelian Exp $ + * $Id: fstab.h,v 1.8 2000/12/04 14:00:17 stelian Exp $ */ /* @@ -57,11 +57,12 @@ */ #ifdef __linux__ #include +#ifdef _PATH_MNTTAB #define _PATH_FSTAB _PATH_MNTTAB -#endif -#ifndef _PATH_FSTAB +#else #define _PATH_FSTAB "/etc/fstab" #endif +#endif /* __linux__ */ #define FSTAB _PATH_FSTAB /* deprecated */ #define FSTAB_DEF "defaults" /* default mount option */