--- stl.h.orig	2002-11-20 16:20:03.000000000 +0000
+++ stl.h	2010-04-08 23:48:12.000000000 +0000
@@ -10,11 +10,14 @@
 
 #include <vector>
 #include <string>
-#include <hash_map>
+#include <ext/hash_map>
 #include <list>
 #include <map>
 #include <deque>
+#include <cstring>
 
+using namespace std;
+using namespace __gnu_cxx;
 
 /*---------------------------------------------------------------------------
  * STL helpers - common
--- sage-frontend.cc.orig	2002-11-20 16:20:03.000000000 +0000
+++ sage-frontend.cc	2010-04-08 23:48:24.000000000 +0000
@@ -14,6 +14,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <string>
+#include <cstring>
+
+using namespace std;
 
 char *optarg;
 int optind, opterr, optopt;
