diff --git a/src/plugins/vcsbase/vcsbasesubmiteditor.h b/src/plugins/vcsbase/vcsbasesubmiteditor.h
index 552e304d8b57c82f6a7ce169020ebd3af37dc10d..a384c5231a1f2bf7ef28d2f418d0a554cda6a557 100644
--- a/src/plugins/vcsbase/vcsbasesubmiteditor.h
+++ b/src/plugins/vcsbase/vcsbasesubmiteditor.h
@@ -51,11 +51,12 @@ namespace Utils {
 
 namespace VCSBase {
 namespace Internal {
-    struct CommonVcsSettings;
+    class CommonVcsSettings;
 }
 struct VCSBaseSubmitEditorPrivate;
 
-struct VCSBASE_EXPORT VCSBaseSubmitEditorParameters {
+class VCSBASE_EXPORT VCSBaseSubmitEditorParameters {
+public:
     const char *mimeType;
     const char *id;
     const char *displayName;
diff --git a/src/plugins/vcsbase/vcsplugin.h b/src/plugins/vcsbase/vcsplugin.h
index 6de2d1de929e5e34bb5090312d9001808de71e49..f92b50fa6b21fad6c60b75df030d278754de6a65 100644
--- a/src/plugins/vcsbase/vcsplugin.h
+++ b/src/plugins/vcsbase/vcsplugin.h
@@ -44,7 +44,7 @@ QT_END_NAMESPACE
 namespace VCSBase {
 namespace Internal {
 
-struct CommonVcsSettings;
+class CommonVcsSettings;
 class CommonOptionsPage;
 class CoreListener;