File jigdo-0.7.3-add-includes.patch of Package jigdo

Index: src/compat.hh
===================================================================
--- src/compat.hh.orig	2005-07-02 18:21:35.000000000 +0100
+++ src/compat.hh	2011-12-26 12:46:03.000000000 +0000
@@ -18,6 +18,7 @@
 
 #include <config.h>
 
+#include <stdlib.h>
 #include <string>
 #include <stdio.h>
 #include <unistd-jigdo.h>
Index: src/gtk/gtk-single-url.cc
===================================================================
--- src/gtk/gtk-single-url.cc.orig	2005-10-15 22:27:39.000000000 +0100
+++ src/gtk/gtk-single-url.cc	2011-12-26 12:46:03.000000000 +0000
@@ -15,6 +15,7 @@
 
 #include <time.h>
 #include <errno.h>
+#include <string.h>
 
 #include <autoptr.hh>
 #include <gtk-single-url.hh>
Index: src/gtk/jigdo.cc
===================================================================
--- src/gtk/jigdo.cc.orig	2005-07-09 23:21:04.000000000 +0100
+++ src/gtk/jigdo.cc	2011-12-26 12:46:03.000000000 +0000
@@ -19,6 +19,7 @@
 #include <iostream>
 #include <string>
 #include <vector>
+#include <string.h>
 
 #include <debug.hh>
 #include <download.hh>
Index: src/recursedir.cc
===================================================================
--- src/recursedir.cc.orig	2006-05-14 19:23:31.000000000 +0100
+++ src/recursedir.cc	2011-12-26 12:46:03.000000000 +0000
@@ -36,6 +36,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd-jigdo.h>
+#include <string.h>
 
 #include <string.hh>
 //______________________________________________________________________
Index: src/util/configfile.cc
===================================================================
--- src/util/configfile.cc.orig	2003-09-27 22:31:04.000000000 +0100
+++ src/util/configfile.cc	2011-12-26 12:46:03.000000000 +0000
@@ -18,6 +18,7 @@
 
 #include <iostream>
 #include <fstream>
+#include <string.h>
 
 #include <configfile.hh>
 #include <string.hh>
Index: src/util/md5sum.hh
===================================================================
--- src/util/md5sum.hh.orig	2005-04-10 00:09:52.000000000 +0100
+++ src/util/md5sum.hh	2011-12-26 12:46:03.000000000 +0000
@@ -31,6 +31,7 @@
 #include <cstdlib>
 #include <iosfwd>
 #include <string>
+#include <string.h>
 
 #include <bstream.hh>
 #include <debug.hh>
Index: src/util/string-utf.cc
===================================================================
--- src/util/string-utf.cc.orig	2004-09-12 00:26:30.000000000 +0100
+++ src/util/string-utf.cc	2011-12-26 12:46:03.000000000 +0000
@@ -15,6 +15,7 @@
 #include <glib.h>
 #include <stdarg.h>
 #include <stdio.h>
+#include <string.h>
 
 #include <debug.hh>
 #include <string-utf.hh>