From: Juan M. Bello-Rivas Date: Mon, 30 Mar 2020 02:27:24 +0000 (-0700) Subject: bindings/cxx: Include missing header file X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5652085a4ee8884c913ec0d9c254fcd0a432df66;p=libsigrok.git bindings/cxx: Include missing header file Including the `functional` header is necessary in order to use `std::function` in the definition of `LogCallbackFunction` when compiling with gcc 7.3.0. --- diff --git a/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp b/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp index 7467d6cf..97e54e17 100644 --- a/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp +++ b/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp @@ -78,6 +78,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS #include G_GNUC_END_IGNORE_DEPRECATIONS +#include #include #include #include