Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 4.0.1 OS: OS X stdlib.h is the correct include to get malloc(), not malloc.h [ 64%] Building CXX object marble/src/lib/CMakeFiles/marblewidget.dir/kml/KMLFeature.o /Users/jeremy/src/kde-svn/trunk/KDE/kdeedu/kalzium/compoundviewer/openbabel2wrapper.cpp:24:20: error: malloc.h: No such file or directory Index: kalzium/compoundviewer/openbabel2wrapper.cpp =================================================================== --- kalzium/compoundviewer/openbabel2wrapper.cpp (revision 671896) +++ kalzium/compoundviewer/openbabel2wrapper.cpp (working copy) @@ -21,7 +21,7 @@ #include <iostream> #include <fstream> #include <string.h> -#include <malloc.h> +#include <stdlib.h> #include <QMouseEvent> #include <QLayout>
SVN commit 672520 by cniehaus: BUG:146425 M +1 -1 openbabel2wrapper.cpp --- trunk/KDE/kdeedu/kalzium/compoundviewer/openbabel2wrapper.cpp #672519:672520 @@ -21,7 +21,7 @@ #include <iostream> #include <fstream> #include <string.h> -#include <malloc.h> +#include <stdlib.h> #include <QMouseEvent> #include <QLayout>