trix / rpms / opencv

Forked from rpms/opencv 2 years ago
Clone
Blob Blame History Raw
diff -up OpenCV-2.2.0/modules/core/include/opencv2/core/core.hpp.gcc46 OpenCV-2.2.0/modules/core/include/opencv2/core/core.hpp
--- OpenCV-2.2.0/modules/core/include/opencv2/core/core.hpp.gcc46	2010-12-05 04:35:24.000000000 +0100
+++ OpenCV-2.2.0/modules/core/include/opencv2/core/core.hpp	2012-01-13 10:21:20.649317440 +0100
@@ -52,6 +52,7 @@
 #ifdef __cplusplus
 
 #ifndef SKIP_INCLUDES
+#include <cstddef>
 #include <limits.h>
 #include <algorithm>
 #include <cmath>
diff -up OpenCV-2.2.0/modules/ml/src/gbt.cpp.gcc46 OpenCV-2.2.0/modules/ml/src/gbt.cpp
--- OpenCV-2.2.0/modules/ml/src/gbt.cpp.gcc46	2010-12-05 04:35:25.000000000 +0100
+++ OpenCV-2.2.0/modules/ml/src/gbt.cpp	2012-01-13 10:35:49.724487556 +0100
@@ -1,6 +1,7 @@
 
 #include "precomp.hpp"
 #include <string>
+#include <math.h>
 #include <time.h>
 
 using namespace std;