https://bugs.gentoo.org/936146 --- a/src/slic3r/GUI/GLTexture.cpp 2024-08-10 11:05:17.663411745 +0100 +++ b/src/slic3r/GUI/GLTexture.cpp 2024-08-10 11:05:34.463543701 +0100 @@ -10,6 +10,8 @@ #include #include +#include +#include #include #include --- a/src/slic3r/GUI/RemovableDriveManager.cpp 2024-08-10 11:24:53.572234573 +0100 +++ b/src/slic3r/GUI/RemovableDriveManager.cpp 2024-08-10 11:28:24.393792051 +0100 @@ -22,7 +22,7 @@ #include #include #include -#include +//#include #include #endif --- a/src/slic3r/GUI/ScriptExecutor.cpp 2024-08-10 11:28:32.423851365 +0100 +++ b/src/slic3r/GUI/ScriptExecutor.cpp 2024-08-10 11:28:41.893921315 +0100 @@ -10,7 +10,7 @@ #include #include #include -#include +//#include #include #include --- a/src/slic3r/GUI/BitmapCache.cpp.old 2024-08-10 12:00:52.538869133 +0100 +++ b/src/slic3r/GUI/BitmapCache.cpp 2024-08-10 12:01:15.519040423 +0100 @@ -6,6 +6,8 @@ #include "GUI_Utils.hpp" #include +#include +#include #ifdef __WXGTK2__ // Broken alpha workaround