From: Bernd Kuhls Date: Thu, 21 Apr 2016 17:10:52 +0000 (+0200) Subject: FS-9093: mod_cv: remove unneeded includes X-Git-Tag: v1.6.8~4^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b024c752fb2e9789fdbaf769be9998f62bb5c483;p=thirdparty%2Ffreeswitch.git FS-9093: mod_cv: remove unneeded includes OpenCV contains various modules which have inter-module dependencies. While including freeswitch into buildroot we stumbled over the fact that mod_cv.cpp includes more headers than needed[1]. hese OpenCV headers are generic headers which require more OpenCV modules enabled than really used by Freeswitch. This patch fixes the problem. [1] http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/146662 Signed-off-by: Bernd Kuhls --- diff --git a/src/mod/applications/mod_cv/mod_cv.cpp b/src/mod/applications/mod_cv/mod_cv.cpp index 5183adc40c..5c10b8d42b 100644 --- a/src/mod/applications/mod_cv/mod_cv.cpp +++ b/src/mod/applications/mod_cv/mod_cv.cpp @@ -40,9 +40,6 @@ using namespace cv; #include -#include -#include "cvaux.h" -#include "cxmisc.h" #include "highgui.h" #include #include