diff --git a/src/slic3r/Utils/PresetUpdater.hpp b/src/slic3r/Utils/PresetUpdater.hpp
index 3a0f19893..e18695828 100644
--- a/src/slic3r/Utils/PresetUpdater.hpp
+++ b/src/slic3r/Utils/PresetUpdater.hpp
@@ -11,6 +11,7 @@ namespace Slic3r {
 
 class AppConfig;
 class PresetBundle;
+class Semver;
 
 class PresetUpdater
 {