build: workaround sporadic failures of python binding compilation
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 31 Mar 2021 22:44:27 +0000 (22:44 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 31 Mar 2021 22:44:27 +0000 (22:44 +0000)
modules/gapi/include/opencv2/gapi/gopaque.hpp

index 9c56b141521a3acfbdd771438d663d6a4d045b0a..00f07184223aa48709146ac966a974bff26fa4be 100644 (file)
@@ -21,6 +21,9 @@
 #include <opencv2/gapi/util/type_traits.hpp>
 #include <opencv2/gapi/own/assert.hpp>
 
+#include <opencv2/gapi/gcommon.hpp>  // OpaqueKind
+#include <opencv2/gapi/garray.hpp>  // TypeHintBase
+
 namespace cv
 {
 // Forward declaration; GNode and GOrigin are an internal