X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frename.c;h=3788e900eb482cc36b701d0e20885c81ead7cac6;hb=a5ebad6e40c4d4d2fa3034c66bea5007d6c73dc8;hp=cd291b4905c70914891c8bfa0ebe46226d8aea3c;hpb=68eb0d909e6de636f9af9a621e34eeaafa5fbac9;p=gnulib.git diff --git a/lib/rename.c b/lib/rename.c index cd291b490..3788e900e 100644 --- a/lib/rename.c +++ b/lib/rename.c @@ -16,28 +16,19 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include #include #include -#ifndef STDC_HEADERS +#ifndef errno extern int errno; #endif -#ifdef STAT_MACROS_BROKEN -#ifdef S_ISDIR +#ifdef STAT_MACROS_BROKEN #undef S_ISDIR -#endif -#endif /* STAT_MACROS_BROKEN. */ +#endif /* STAT_MACROS_BROKEN. */ #if !defined(S_ISDIR) && defined(S_IFDIR) #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)