Fix build with GCC 7

Building libupnpp with GCC 7 throws the following error:

./libupnpp/control/service.hxx:65:6: error: 'function' in namespace 'std' does not name a template type std::function<void (const std::unordered_map<std::string, std::string>&)>

Fix this by including functional as suggested in [1].

Fixes: #18

[1] https://github.com/medoc92/libupnpp/issues/18#issuecomment-306092572

Jörg Krause Jörg Krause 2017-06-06

changed libupnpp/control/service.hxx
changed libupnpp/device/device.hxx
libupnpp/control/service.hxx Diff Switch to side-by-side view
Loading...
libupnpp/device/device.hxx Diff Switch to side-by-side view
Loading...