http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
--- a/ddd/strclass.C~ 2008-11-07 17:57:13.000000000 +0000
+++ b/ddd/strclass.C  2008-11-07 17:57:27.000000000 +0000
@@ -39,6 +39,7 @@
 #include <ctype.h>
 #include <limits.h>
 #include <new>
+#include <cstdio>
 #include <stdlib.h>
 
 void string::error(const char* msg) const
