--- antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp	2006-11-02 10:37:17.000000000 +1300
+++ antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp	2014-08-25 13:06:46.541050000 +1200
@@ -10,6 +10,8 @@
 
 #include <antlr/config.hpp>
 
+#include <cstdio>
+#include <strings.h>
 #include <map>
 
 #ifdef HAS_NOT_CCTYPE_H
