diff liboctave/oct-md5.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 25bc2d31e1bf
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/oct-md5.cc
+++ b/liboctave/oct-md5.cc
@@ -20,13 +20,15 @@
 
 */
 
-#include <string>
-#include <vector>
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
+#include <cstdio>
+
+#include <string>
+#include <vector>
+
 #include "lo-error.h"
 #include "oct-md5.h"
 #include "md5.h"