diff scripts/gethelp.cc @ 8521:93cf10950334

tmpdir=tmpnam; tmpfile=tmpnam; dummy=1; save(tmpfile, "dummy") mkdir(tmpdir) gzfile=gzip(tmpfile, tmpdir) gunzip(gzfile) Include cstdio header. Without this header inclusion, compilation of oct-md5.cc and gethelp.cc with g++ 4.4 fails because symbols like sprintf, fopen, fread, fclose, and EOF are not found.
author Rafael Laboissiere <rafael@debian.org>
date Thu, 15 Jan 2009 00:50:20 -0500
parents 0ef13e15319b
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/gethelp.cc
+++ b/scripts/gethelp.cc
@@ -24,8 +24,10 @@
 #define __USE_STD_IOSTREAM
 #endif
 
+#include <cstdio>
+
+#include <iostream>
 #include <string>
-#include <iostream>
 
 static bool
 looks_like_octave_copyright (const std::string& s)