From 73f1940b03decfde0d7f02fac3db88c67cab7e36 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Tue, 12 Nov 2013 21:40:39 -0500 Subject: [PATCH] Add missing limits include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without limits included, several CUDA related files fail to compile with GCC on Ubuntu: modules/cudaimgproc/src/hough_lines.cpp:136:9: error: ‘numeric_limits’ is not a member of ‘std’ --- modules/cudaimgproc/src/precomp.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cudaimgproc/src/precomp.hpp b/modules/cudaimgproc/src/precomp.hpp index c31d6a3e42..964c28c158 100644 --- a/modules/cudaimgproc/src/precomp.hpp +++ b/modules/cudaimgproc/src/precomp.hpp @@ -59,4 +59,6 @@ # include "opencv2/cudafilters.hpp" #endif +#include + #endif /* __OPENCV_PRECOMP_H__ */