GNOME Bugzilla – Bug 314375
gcalctool includes malloc.h
Last modified: 2005-08-24 15:13:31 UTC
Please describe the problem: gcalctool includes malloc.h header that does output error on FreeBSD systems. Instead of using malloc.h, it should include stdlib.h directly. The attached patch fixes the problem and allows it to build fine on Gentoo/FreeBSD. Thanks, Diego Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 51250 [details] [review] gcalctool-5.5.42-malloc.patch
Thanks Diego. Change checked into CVS HEAD. Version number in configure.in bumped to 5.6.29. I'll generate a new tarball with the next GNOME 2.12 call for tarballs.