diff -ru PrusaSlicer-version_2.7.4.old/src/slic3r/Config/Snapshot.cpp PrusaSlicer-version_2.7.4/src/slic3r/Config/Snapshot.cpp
--- PrusaSlicer-version_2.7.4.old/src/slic3r/Config/Snapshot.cpp	2024-04-05 12:25:31.000000000 +0300
+++ PrusaSlicer-version_2.7.4/src/slic3r/Config/Snapshot.cpp	2024-05-22 12:44:38.160394828 +0300
@@ -12,6 +12,7 @@
 #include <boost/property_tree/ini_parser.hpp>
 #include <boost/property_tree/ptree_fwd.hpp>
 #include <boost/filesystem/operations.hpp>
+#include <boost/filesystem/directory.hpp>
 #include <boost/log/trivial.hpp>
 
 #include "libslic3r/PresetBundle.hpp"
diff -ru PrusaSlicer-version_2.7.4.old/src/slic3r/Config/Version.cpp PrusaSlicer-version_2.7.4/src/slic3r/Config/Version.cpp
--- PrusaSlicer-version_2.7.4.old/src/slic3r/Config/Version.cpp	2024-04-05 12:25:31.000000000 +0300
+++ PrusaSlicer-version_2.7.4/src/slic3r/Config/Version.cpp	2024-05-22 12:44:41.062525306 +0300
@@ -7,6 +7,7 @@
 #include <cctype>
 
 #include <boost/filesystem/operations.hpp>
+#include <boost/filesystem/directory.hpp>
 #include <boost/nowide/fstream.hpp>
 
 #include "libslic3r/libslic3r.h"
diff -ru PrusaSlicer-version_2.7.4.old/src/slic3r/GUI/RemovableDriveManager.cpp PrusaSlicer-version_2.7.4/src/slic3r/GUI/RemovableDriveManager.cpp
--- PrusaSlicer-version_2.7.4.old/src/slic3r/GUI/RemovableDriveManager.cpp	2024-04-05 12:25:31.000000000 +0300
+++ PrusaSlicer-version_2.7.4/src/slic3r/GUI/RemovableDriveManager.cpp	2024-05-22 12:44:35.125258369 +0300
@@ -35,7 +35,6 @@
 #include <pwd.h>
 #include <boost/filesystem.hpp>
 #include <boost/system/error_code.hpp>
-#include <boost/filesystem/convenience.hpp>
 #include <boost/process.hpp>
 #endif