You can use the IWYU &quot;export&quot; pragma to inform IWYU that this is what you&#x27;re doing.  <a href="https:&#x2F;&#x2F;github.com&#x2F;include-what-you-use&#x2F;include-what-you-use&#x2F;blob&#x2F;master&#x2F;docs&#x2F;IWYUPragmas.md#iwyu-pragma-export" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;include-what-you-use&#x2F;include-what-you-use...</a>