diff --git a/stuff/misc.hh b/stuff/misc.hh
index f5f4a7d2158490000c38ac0090e5c05d7135b677..a476f549dd7df8475ec285ef3fc9ef2644c6521a 100644
--- a/stuff/misc.hh
+++ b/stuff/misc.hh
@@ -32,6 +32,8 @@ bool isnan(T x)
 #define LOGIC_ERROR
 #endif
 
+#include <cstring>
+
 char* copy(const char* s)
 {
   int l   = strlen(s) + 1;
@@ -140,6 +142,8 @@ struct RunInfo
   }
 };
 
+#include <dune/common/misc.hh>
+
 namespace Stuff {
 
 template <class SomeRangeType>