bindings: cxx: examples: add missing include
authorSZ Lin (林上智) <sz.lin@moxa.com>
Wed, 26 Sep 2018 09:47:10 +0000 (17:47 +0800)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 7 Oct 2018 07:29:48 +0000 (09:29 +0200)
commit63c72c92d60702a6d9445c7b65482ad4eb7a0c06
tree8db36b76f09cf658069dd4595ad8d86b82e95631
parenta4494d7c873fbbaffcdbdbece7d64bc727818ca5
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 '<functional>'; did you forget to '#include <functional>'?
gpiod_cxx_tests.cpp:26:1:
+#include <functional>

Signed-off-by: SZ Lin (林上智) <sz.lin@moxa.com>
[Bartosz: tweaked the commit message]
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/cxx/examples/gpiod_cxx_tests.cpp