From 894cde3f407d7a91ba6a09abf5198d857a94df87 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Mon, 29 Nov 2010 09:31:47 +0000 Subject: [PATCH] fixed compile errors from gcc --- samples/cpp/letter_recog.cpp | 1 + samples/cpp/watershed.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/samples/cpp/letter_recog.cpp b/samples/cpp/letter_recog.cpp index 353440154..fd75712a4 100644 --- a/samples/cpp/letter_recog.cpp +++ b/samples/cpp/letter_recog.cpp @@ -1,6 +1,7 @@ #include "opencv2/core/core_c.h" #include "opencv2/ml/ml.hpp" +#include /* The sample demonstrates how to train Random Trees classifier (or Boosting classifier, or MLP - see main()) using the provided dataset. diff --git a/samples/cpp/watershed.cpp b/samples/cpp/watershed.cpp index 0eaab6efd..088c3f445 100644 --- a/samples/cpp/watershed.cpp +++ b/samples/cpp/watershed.cpp @@ -1,6 +1,7 @@ #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" +#include #include using namespace cv;