tag 454828 patch thanks Martin Michlmayr <[EMAIL PROTECTED]> (07/12/2007): > Package: mm3d > Version: 1.3.5-1 > Usertags: ftbfs-gcc-4.3
Hi, please find attached a patch to fix this FTBFS. Cheers, -- Cyril Brulebois
--- a/src/implui/qttex.cc +++ b/src/implui/qttex.cc @@ -37,6 +37,8 @@ #include <qstring.h> +#include <cstdlib> + using std::list; using std::string; --- a/src/mm3dcore/prefparse.cc +++ b/src/mm3dcore/prefparse.cc @@ -7,6 +7,8 @@ #include "prefs.h" #include "prefparse.h" +#include <cstring> + class PrefParser { public: --- a/src/mm3dcore/prefs.cc +++ b/src/mm3dcore/prefs.cc @@ -27,6 +27,8 @@ #include <stdlib.h> #include <string> +#include <cstring> + using std::map; using std::vector; --- a/src/mm3dcore/sysconf.cc +++ b/src/mm3dcore/sysconf.cc @@ -45,6 +45,9 @@ #include <unistd.h> +#include <cstdlib> +#include <cstring> + static std::string s_mm3dHomeDir; static std::string s_docDir; static std::string s_i18nDir;
signature.asc
Description: Digital signature