diff options
author | Max Kellermann <max@musicpd.org> | 2017-12-03 16:22:08 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-12-03 16:22:08 +0100 |
commit | fbc4bb29dcc471a08e47f10ffaa24ad8da6d40a2 (patch) | |
tree | bfbf5c75d1511145d6570697959ad52787e952bd /src/lib | |
parent | 7ba7ce3af7f013de10f458540e2cd9e7ff3c212f (diff) | |
parent | 12085038881a4aba94c74b7104c5090bc777001e (diff) |
Merge branch 'v0.20.x'
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/upnp/Compat.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/upnp/Compat.hxx b/src/lib/upnp/Compat.hxx index 2e2d2f1de..c9f1cc47f 100644 --- a/src/lib/upnp/Compat.hxx +++ b/src/lib/upnp/Compat.hxx @@ -23,12 +23,15 @@ #include <upnp/upnp.h> #if UPNP_VERSION < 10800 -#include "Compiler.h" - /* emulate the libupnp 1.8 API with older versions */ using UpnpDiscovery = Upnp_Discovery; +#endif + +#if UPNP_VERSION < 10624 +#include "Compiler.h" + gcc_pure static inline int UpnpDiscovery_get_Expires(const UpnpDiscovery *disco) noexcept |