fix include directive so that the contents are really included
bug #3504 fix include directive so that the contents are really included (xabbuh)

This PR was merged into the 2.4 branch.

Discussion
----------

fix include directive so that the contents are really included

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4+
| Fixed tickets |

Commits
-------

3090cf2 fix include directive so that the contents are really included