fixed compile errors from gcc
authorMaria Dimashova <no@email>
Mon, 29 Nov 2010 09:31:47 +0000 (09:31 +0000)
committerMaria Dimashova <no@email>
Mon, 29 Nov 2010 09:31:47 +0000 (09:31 +0000)
samples/cpp/letter_recog.cpp
samples/cpp/watershed.cpp

index 3534401..fd75712 100644 (file)
@@ -1,6 +1,7 @@
 #include "opencv2/core/core_c.h"
 #include "opencv2/ml/ml.hpp"
 
+#include <cstdio>
 /*
 The sample demonstrates how to train Random Trees classifier
 (or Boosting classifier, or MLP - see main()) using the provided dataset.
index 0eaab6e..088c3f4 100644 (file)
@@ -1,6 +1,7 @@
 #include "opencv2/imgproc/imgproc.hpp"
 #include "opencv2/highgui/highgui.hpp"
 
+#include <cstdio>
 #include <iostream>
 
 using namespace cv;