From: Jim Meyering Date: Wed, 10 Sep 2003 09:03:45 +0000 (+0000) Subject: Include , unconditionally. X-Git-Tag: v5.1.0~748 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71827bcf04f42711d9584a79f0dfd662c0f71922;p=thirdparty%2Fcoreutils.git Include , unconditionally. (free): Remove decl. --- diff --git a/lib/mkdir.c b/lib/mkdir.c index 7c756a283e..c3ecc721e0 100644 --- a/lib/mkdir.c +++ b/lib/mkdir.c @@ -1,6 +1,7 @@ /* On some systems, mkdir ("foo/", 0700) fails because of the trailing slash. On those systems, this wrapper removes the trailing slash. - Copyright (C) 2001 Free Software Foundation, Inc. + + Copyright (C) 2001, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,26 +29,12 @@ #include #include #include -#if HAVE_STDLIB_H -# include -#endif - -#if HAVE_STRING_H -# include -#else -# include -#endif +#include +#include #include "dirname.h" #include "xalloc.h" -#ifndef HAVE_DECL_FREE -"this configure-time declaration test was not run" -#endif -#if !HAVE_DECL_FREE -void free (); -#endif - /* This function is required at least for NetBSD 1.5.2. */ int