--- samples/cpp/image.cpp.orig	2011-06-21 15:24:12.000000000 +0200
+++ samples/cpp/image.cpp	2011-06-27 08:32:11.174032625 +0200
@@ -1,3 +1,4 @@
+#include <cstdio>
 #include "cv.h" // include standard OpenCV headers, same as before
 #include "highgui.h"
 #include "ml.h"
