diff --git a/modules/gpu/test/test_main.cpp b/modules/gpu/test/test_main.cpp index fc7b5dfb80..fcf9b7815a 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 a4ffa1c3bf..5ddafaab39 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"