diff --git a/modules/imgcodecs/src/precomp.hpp b/modules/imgcodecs/src/precomp.hpp index 19e6fb9e3c..a5bbb41918 100644 --- a/modules/imgcodecs/src/precomp.hpp +++ b/modules/imgcodecs/src/precomp.hpp @@ -73,10 +73,6 @@ #undef abs #endif -#ifdef HAVE_TEGRA_OPTIMIZATION -#include "opencv2/imgcodecs/imgcodecs_tegra.hpp" -#endif - #define __BEGIN__ __CV_BEGIN__ #define __END__ __CV_END__ #define EXIT __CV_EXIT__ diff --git a/modules/videoio/src/precomp.hpp b/modules/videoio/src/precomp.hpp index 13c57023d7..7c43f339a5 100644 --- a/modules/videoio/src/precomp.hpp +++ b/modules/videoio/src/precomp.hpp @@ -76,10 +76,6 @@ #undef abs #endif -#ifdef HAVE_TEGRA_OPTIMIZATION -#include "opencv2/videoio/videoio_tegra.hpp" -#endif - #define __BEGIN__ __CV_BEGIN__ #define __END__ __CV_END__ #define EXIT __CV_EXIT__