diff --git a/modules/gpu/src/video_reader.cpp b/modules/gpu/src/video_reader.cpp index cd9a23b2f4..cff4d15d79 100644 --- a/modules/gpu/src/video_reader.cpp +++ b/modules/gpu/src/video_reader.cpp @@ -70,8 +70,6 @@ void cv::gpu::VideoReader_GPU::dumpFormat(std::ostream&) { throw_no_cuda(); } #include "cuvid_video_source.h" #include "ffmpeg_video_source.h" -#include "cu_safe_call.h" - class cv::gpu::VideoReader_GPU::Impl { public: diff --git a/modules/nonfree/test/test_precomp.hpp b/modules/nonfree/test/test_precomp.hpp index 230ea9118a..cacf372674 100644 --- a/modules/nonfree/test/test_precomp.hpp +++ b/modules/nonfree/test/test_precomp.hpp @@ -11,6 +11,7 @@ #include #include "opencv2/ts.hpp" +#include "opencv2/ts/gpu_test.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/highgui.hpp" #include "opencv2/nonfree.hpp"