Thanks, but this bug was fixed in a different way a while ago; please see <http://lists.gnu.org/archive/html/bison-patches/2006-02/msg00070.html>. You might consider upgrading to Bison 2.3.
- malloc: bison-2.1+, prototype mismatch vs. stdlib.h (C++ mode) David Fang
- Re: malloc: bison-2.1+, prototype mismatch vs. stdlib.h (... Paul Eggert
