diff --git a/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx b/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx index 7a9a0cec0..e7b5d7b07 100644 --- a/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx +++ b/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx @@ -28,12 +28,17 @@ // This workaround will be removed after correction of the // https://tracker.dev.opencascade.org/view.php?id=28457 issue. #ifdef HAVE_TBB -#undef HAVE_TBB -#include -#include -#include -#include -#define HAVE_TBB + #undef HAVE_TBB + #include + #include + #include + #include + #define HAVE_TBB +#else + #include + #include + #include + #include #endif // Qt