Taken from gentoo:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/yacas/files/yacas-1.2.2-gcc43.patch?rev=1.1&view=markup
Index: yacas-1.2.2-gcc43.patch
===================================================================
--- a/manmake/manripper.cpp
+++ b/manmake/manripper.cpp
@@ -1,7 +1,8 @@
 
-#include <stdio.h>
-#include <ctype.h>
+#include <cstdio>
+#include <cctype>
 #include <string>
+#include <cstring>
 #include <map>
 
 using namespace std;
