diff --git a/modules/gpu/test/test_main.cpp b/modules/gpu/test/test_main.cpp index fc7b5dfb8..fcf9b7815 100644 --- a/modules/gpu/test/test_main.cpp +++ b/modules/gpu/test/test_main.cpp @@ -42,6 +42,7 @@ #include "test_precomp.hpp" #ifdef HAVE_CUDA +#include void print_info() { diff --git a/modules/gpu/test/test_precomp.hpp b/modules/gpu/test/test_precomp.hpp index a4ffa1c3b..5ddafaab3 100644 --- a/modules/gpu/test/test_precomp.hpp +++ b/modules/gpu/test/test_precomp.hpp @@ -50,7 +50,6 @@ #include #include #include -#include #include "cvconfig.h" #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp"