diff --git a/common/str.h b/common/str.h
index 41227192b07..4c2a985d462 100644
--- a/common/str.h
+++ b/common/str.h
@@ -24,6 +24,9 @@
 #include "scummsys.h"
 #include "common/list.h"
 
+#include <assert.h>
+#include <string.h>
+
 namespace ScummVM {
 
 /*