]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9093: mod_cv: remove unneeded includes
authorBernd Kuhls <bernd.kuhls@t-online.de>
Thu, 21 Apr 2016 17:10:52 +0000 (19:10 +0200)
committerBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 22 Apr 2016 17:55:29 +0000 (19:55 +0200)
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 <bernd.kuhls@t-online.de>
src/mod/applications/mod_cv/mod_cv.cpp

index 5183adc40c1d980c3975240ed6d011201e8e24d6..5c10b8d42bcddd034bb5995171f9457f04b8cc98 100644 (file)
@@ -40,9 +40,6 @@ using namespace cv;
 
 #include <switch.h>
 
-#include <cv.h>
-#include "cvaux.h"
-#include "cxmisc.h"
 #include "highgui.h"
 #include <stdio.h>
 #include <stdlib.h>