śr., 26 wrz 2018 o 11:47 SZ Lin (林上智) <szlin@xxxxxxxxxx> napisał(a): > > From: SZ Lin (林上智) <sz.lin@xxxxxxxx> > > 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@xxxxxxxx> > --- > 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 <map> > #include <cstring> > #include <cerrno> > +#include <functional> > > #include <poll.h> > > -- > 2.19.0 > Applied to master and v1.1.x. Thanks! Bartosz Golaszewski