Fix a simple compilation problem (non conforming C++).
Compare changes
GitLab upgrade completed. Current version is 17.11.3.
On linux (and this is probably required by the C++ standard), #include is required to be able to use std::function. Otherwise, we get a compilation error.