]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Don't include filesystem if not needed, it might not be available
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 17 Dec 2025 14:14:37 +0000 (15:14 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 17 Dec 2025 14:14:37 +0000 (15:14 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/webserver.cc

index 77f8719f047d0bc7fec0036579f3d7de5f29db83..b460af629bc2a6522acae3625cbb7d06a916e62e 100644 (file)
 #include <algorithm>
 #include <bitset>
 #include <unistd.h>
+
+#if !defined(RUST_WS)
 #include <filesystem>
 
 namespace filesystem = std::filesystem;
+#endif
 
 json11::Json HttpRequest::json()
 {