From 3226f395702e65af17db4c06348e68d088515ce7 Mon Sep 17 00:00:00 2001
From: nys <33534144+nysnatuss@users.noreply.github.com>
Date: Sun, 31 Dec 2017 00:25:20 +0000
Subject: patch jigdo


diff --git a/src/compat.hh b/src/compat.hh
index 3a7ac9a..17c0887 100644
--- a/src/compat.hh
+++ b/src/compat.hh
@@ -20,6 +20,7 @@
 
 #include <string>
 #include <stdio.h>
+#include <cstdlib>
 #include <unistd-jigdo.h>
 #include <sys/stat.h>
 #include <sys/types.h>
diff --git a/src/recursedir.cc b/src/recursedir.cc
index 794ece0..7134510 100644
--- a/src/recursedir.cc
+++ b/src/recursedir.cc
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <unistd-jigdo.h>
 
+#include <cstring>
 #include <string.hh>
 //______________________________________________________________________
 
diff --git a/src/util/configfile.cc b/src/util/configfile.cc
index 3a19cb2..568d70b 100644
--- a/src/util/configfile.cc
+++ b/src/util/configfile.cc
@@ -18,6 +18,7 @@
 
 #include <iostream>
 #include <fstream>
+#include <cstring>
 
 #include <configfile.hh>
 #include <string.hh>
diff --git a/src/util/md5sum.hh b/src/util/md5sum.hh
index 793a5e2..fbfe226 100644
--- a/src/util/md5sum.hh
+++ b/src/util/md5sum.hh
@@ -30,7 +30,7 @@
 
 #include <cstdlib>
 #include <iosfwd>
-#include <string>
+#include <cstring>
 
 #include <bstream.hh>
 #include <debug.hh>
-- 
2.15.0

