[patch] dvgrab-3.4 headers fix for gcc-4.4
Michael Shigorin <[email protected]>
| Newsgroups | gmane.comp.video.kino.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, please find attached a trivial patch to fix gcc 4.4 related build failure with dvgrab-4.4. -- ---- WBR, Michael Shigorin <[email protected]> ------ Linux.Kiev http://www.linux.kiev.ua/ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Kino-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kino-dev
dvgrab-3.4-alt-gcc44.patch
(text/plain, 621 B)
diff -Naur dvgrab-3.4-orig/error.cc dvgrab-3.4/error.cc --- dvgrab-3.4-orig/error.cc 2007-07-06 22:04:24 +0300 +++ dvgrab-3.4/error.cc 2009-05-13 18:58:46 +0300 @@ -32,6 +32,7 @@ #include <iostream> #include <sstream> #include <iomanip> +#include <cstdio> using std::ostringstream; using std::string; diff -Naur dvgrab-3.4-orig/smiltime.cc dvgrab-3.4/smiltime.cc --- dvgrab-3.4-orig/smiltime.cc 2008-11-26 05:41:39 +0200 +++ dvgrab-3.4/smiltime.cc 2009-05-13 19:00:32 +0300 @@ -27,6 +27,7 @@ #include <iostream> #include <iomanip> #include <sstream> +#include <cstdio> #include <stdlib.h> #include <math.h>