X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbackupfile.c;h=100e0a53b38fbccd4d64610a0a47afbc6a76002f;hb=daa689ebb8beb42e803445c882f20a175eb51b7f;hp=94f22deb610ba27b779fcae583b127b2e8b05b74;hpb=d9f6701eb53b2c5ded7ca2fdd14093c941a6a803;p=gnulib.git diff --git a/lib/backupfile.c b/lib/backupfile.c index 94f22deb6..100e0a53b 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -58,19 +58,24 @@ # define CLOSEDIR(d) closedir (d) #endif -#if STDC_HEADERS +#if HAVE_STDLIB_H # include -#else -char *malloc (); #endif #ifndef HAVE_DECL_GETENV -'this configure-time declaration test was not run' +"this configure-time declaration test was not run" #endif #if !HAVE_DECL_GETENV char *getenv (); #endif +#ifndef HAVE_DECL_MALLOC +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_MALLOC +char *malloc (); +#endif + char *base_name PARAMS ((char const *)); #if HAVE_DIRENT_H || HAVE_NDIR_H || HAVE_SYS_DIR_H || HAVE_SYS_NDIR_H