From 63c72c92d60702a6d9445c7b65482ad4eb7a0c06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?SZ=20Lin=20=28=E6=9E=97=E4=B8=8A=E6=99=BA=29?= Date: Wed, 26 Sep 2018 17:47:10 +0800 Subject: [PATCH] bindings: cxx: examples: add missing include MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch adds proper include file to fix FTBFS issue in gpiod_cxx_tests.cpp, please see below error. gpiod_cxx_tests.cpp:29:19: note: 'std::function' is defined in header ''; did you forget to '#include '? gpiod_cxx_tests.cpp:26:1: +#include Signed-off-by: SZ Lin (林上智) [Bartosz: tweaked the commit message] Signed-off-by: Bartosz Golaszewski --- bindings/cxx/examples/gpiod_cxx_tests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/cxx/examples/gpiod_cxx_tests.cpp b/bindings/cxx/examples/gpiod_cxx_tests.cpp index df4820b..767fe98 100644 --- a/bindings/cxx/examples/gpiod_cxx_tests.cpp +++ b/bindings/cxx/examples/gpiod_cxx_tests.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include -- 2.30.2