From c8a3a85e267dc3c6f6e0ec969eced63e90124946 Mon Sep 17 00:00:00 2001 From: Eric Martin Christiansen Date: Sat, 5 Oct 2013 15:52:19 -0700 Subject: [PATCH 1/2] adds include to fix build --- modules/shape/src/sc_dis.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/shape/src/sc_dis.cpp b/modules/shape/src/sc_dis.cpp index 24e86af49..e0ccbc983 100644 --- a/modules/shape/src/sc_dis.cpp +++ b/modules/shape/src/sc_dis.cpp @@ -44,6 +44,8 @@ * Implementation of the paper Shape Matching and Object Recognition Using Shape Contexts * Belongie et al., 2002 by Juan Manuel Perez for GSoC 2013. */ +#include + #include "precomp.hpp" #include "opencv2/core.hpp" #include "scd_def.hpp" From 88b1847d09beadc277d6efd5e01ff5a31eeb9a4a Mon Sep 17 00:00:00 2001 From: Greg Hale Date: Sun, 6 Oct 2013 01:21:43 -0400 Subject: [PATCH 2/2] add include limits, for compilers that dont add it implicitly --- modules/shape/src/sc_dis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shape/src/sc_dis.cpp b/modules/shape/src/sc_dis.cpp index e0ccbc983..b6d433148 100644 --- a/modules/shape/src/sc_dis.cpp +++ b/modules/shape/src/sc_dis.cpp @@ -44,11 +44,11 @@ * Implementation of the paper Shape Matching and Object Recognition Using Shape Contexts * Belongie et al., 2002 by Juan Manuel Perez for GSoC 2013. */ -#include #include "precomp.hpp" #include "opencv2/core.hpp" #include "scd_def.hpp" +#include namespace cv {