commit | 9d35096b2a6bd17e285ab45cc6417d462317f67a | [log] [tgz] |
---|---|---|
author | Adrien Béraud <adrien.beraud@savoirfairelinux.com> | Thu Jul 13 15:36:32 2023 -0400 |
committer | Adrien Béraud <adrien.beraud@savoirfairelinux.com> | Thu Jul 13 15:36:32 2023 -0400 |
tree | 74767ea89003f44d3406de1da2a23d4ce521d373 | |
parent | 66bb3c6ccaf78e7db4ff6aaab8aca11d17d4b733 [diff] [blame] |
upnp: only include std when available Change-Id: I7b63b7e8afac3151b542cbcfcea5da770fd4c845
diff --git a/src/upnp/upnp_context.cpp b/src/upnp/upnp_context.cpp index 35fdb50..5aa3f78 100644 --- a/src/upnp/upnp_context.cpp +++ b/src/upnp/upnp_context.cpp
@@ -24,7 +24,11 @@ #include "protocol/upnp_protocol.h" #include <asio/steady_timer.hpp> +#if __has_include(<fmt/std.h>) #include <fmt/std.h> +#else +#include <fmt/ostream.h> +#endif namespace dhtnet { namespace upnp {