diff -dur multiget.orig/src/batch.cpp multiget/src/batch.cpp --- multiget.orig/src/batch.cpp 2007-01-13 12:09:02.000000000 +0100 +++ multiget/src/batch.cpp 2008-06-04 20:17:12.000000000 +0200 @@ -21,7 +21,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + +#include <cstdlib> #include "batch.h" #include "common.h" #include <iostream> diff -dur multiget.orig/src/common.cpp multiget/src/common.cpp --- multiget.orig/src/common.cpp 2007-01-13 12:09:02.000000000 +0100 +++ multiget/src/common.cpp 2008-06-04 20:17:10.000000000 +0200 @@ -21,7 +21,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + +#include <cstdlib> #include "common.h" #include "speedctrl.h" #include "mirroradmin.h" diff -dur multiget.orig/src/mgftpbase.cpp multiget/src/mgftpbase.cpp --- multiget.orig/src/mgftpbase.cpp 2007-01-13 12:09:02.000000000 +0100 +++ multiget/src/mgftpbase.cpp 2008-06-04 20:17:08.000000000 +0200 @@ -21,7 +21,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + +#include <cstdlib> #ifdef WIN32 #include <winsock2.h> #endif diff -dur multiget.orig/src/mgurlparser.cpp multiget/src/mgurlparser.cpp --- multiget.orig/src/mgurlparser.cpp 2007-01-29 04:51:58.000000000 +0100 +++ multiget/src/mgurlparser.cpp 2008-06-04 20:17:13.000000000 +0200 @@ -22,6 +22,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <cstdlib> +#include <cstring> #include "mgurlparser.h" #include "common.h"