--- gcc-4.2-20090325/include/libiberty.h 2007-02-09 20:29:21.000000000 +0500 +++ gcc-4.2-20090325/include/libiberty.h.new 2010-05-07 18:16:36.564293384 +0600 @@ -554,8 +554,10 @@ /* Like sprintf but provides a pointer to malloc'd storage, which must be freed by the caller. */ +#ifndef asprintf extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; #endif +#endif #if !HAVE_DECL_VASPRINTF /* Like vsprintf but provides a pointer to malloc'd storage, which