--- common.h.orig	2015-10-04 16:03:02 UTC
+++ common.h
@@ -24,6 +24,8 @@
 #ifndef _COMMON_H
 #define _COMMON_H
 
+#include <cstring>
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <list>
