diff --git a/src/plugins/git/gitorious/gitoriousprojectwidget.h b/src/plugins/git/gitorious/gitoriousprojectwidget.h
index 6151b381e1524a77fcf55eb847e87bd3a8ba06b8..82a8a6e75d57d863e9b26f8c75231355ce164b47 100644
--- a/src/plugins/git/gitorious/gitoriousprojectwidget.h
+++ b/src/plugins/git/gitorious/gitoriousprojectwidget.h
@@ -44,7 +44,7 @@ namespace Gitorious {
 namespace Internal {
 
 class GitoriousHostWizardPage;
-class GitoriousProject;
+struct GitoriousProject;
 
 namespace Ui {
     class GitoriousProjectWidget;
diff --git a/src/plugins/git/gitorious/gitoriousprojectwizardpage.h b/src/plugins/git/gitorious/gitoriousprojectwizardpage.h
index b26e4e0a4da89f4718ad4c9ba28e0600e662d16e..83214b5ade70578c0d799662fe43c493c217c1bb 100644
--- a/src/plugins/git/gitorious/gitoriousprojectwizardpage.h
+++ b/src/plugins/git/gitorious/gitoriousprojectwizardpage.h
@@ -41,7 +41,7 @@ namespace Gitorious {
 namespace Internal {
 
 class GitoriousHostWizardPage;
-class GitoriousProject;
+struct GitoriousProject;
 class GitoriousProjectWidget;
 
 namespace Ui {