Fixing missing header compilation problems
authorVictor Erukhimov <no@email>
Fri, 26 Nov 2010 19:22:39 +0000 (19:22 +0000)
committerVictor Erukhimov <no@email>
Fri, 26 Nov 2010 19:22:39 +0000 (19:22 +0000)
samples/c/inpaint.cpp
samples/c/letter_recog.cpp

index b8161fe..302ecfd 100644 (file)
@@ -1,6 +1,8 @@
 #include "opencv2/highgui/highgui.hpp"
 #include "opencv2/imgproc/imgproc_c.h"
 
+#include <stdio.h>
+
 IplImage* inpaint_mask = 0;
 IplImage* img0 = 0, *img = 0, *inpainted = 0;
 CvPoint prev_pt = {-1,-1};
index 3534401..555203c 100644 (file)
@@ -1,6 +1,8 @@
 #include "opencv2/core/core_c.h"
 #include "opencv2/ml/ml.hpp"
 
+#include <stdio.h>
+
 /*
 The sample demonstrates how to train Random Trees classifier
 (or Boosting classifier, or MLP - see main()) using the provided dataset.