--- common.h.orig	2016-08-15 13:26:19 UTC
+++ common.h
@@ -24,6 +24,8 @@
 #ifndef _COMMON_H
 #define _COMMON_H
 
+#include <cstring>
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <list>
