diff --git a/include/pybind11/warnings.h b/include/pybind11/warnings.h index 263b2990..99b7437a 100644 --- a/include/pybind11/warnings.h +++ b/include/pybind11/warnings.h @@ -10,7 +10,9 @@ #pragma once #include "pybind11.h" +// IWYU pragma: begin_exports #include "detail/common.h" +// IWYU pragma: end_exports PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)