From 5652085a4ee8884c913ec0d9c254fcd0a432df66 Mon Sep 17 00:00:00 2001 From: "Juan M. Bello-Rivas" Date: Sun, 29 Mar 2020 19:27:24 -0700 Subject: [PATCH] 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. --- bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp | 1 + 1 file changed, 1 insertion(+) 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