From edec46e8c3fba475c8ac9f3d3be32fceb6c85c45 Mon Sep 17 00:00:00 2001 From: David Hummel <6109326+hummeltech@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:15:18 -0700 Subject: [PATCH] Fixed check for '__cpp_lib_filesystem' always false until after '#include ' --- include/mapnik/filesystem.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mapnik/filesystem.hpp b/include/mapnik/filesystem.hpp index 09a3731e4..90f81ec16 100644 --- a/include/mapnik/filesystem.hpp +++ b/include/mapnik/filesystem.hpp @@ -23,6 +23,8 @@ #ifndef MAPNIK_FILESYSTEM_HPP #define MAPNIK_FILESYSTEM_HPP +#include + #if defined(__cpp_lib_filesystem) && !defined(USE_BOOST_FILESYSTEM) #include #else