From: SZ Lin (林上智) Date: Wed, 26 Sep 2018 09:47:10 +0000 (+0800) Subject: bindings: cxx: examples: add missing include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=63c72c92d60702a6d9445c7b65482ad4eb7a0c06;p=qemu-gpiodev%2Flibgpiod.git bindings: cxx: examples: add missing include 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 --- 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