diff --git a/backends/virtual/scene_qpainter_virtual_backend.h b/backends/virtual/scene_qpainter_virtual_backend.h
index 53bf5f0294..a81e9589a0 100644
--- a/backends/virtual/scene_qpainter_virtual_backend.h
+++ b/backends/virtual/scene_qpainter_virtual_backend.h
@@ -17,8 +17,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*********************************************************************/
-#ifndef KWIN_SCENE_QPAINTER_X11_BACKEND_H
-#define KWIN_SCENE_QPAINTER_X11_BACKEND_H
+#ifndef KWIN_SCENE_QPAINTER_VIRTUAL_BACKEND_H
+#define KWIN_SCENE_QPAINTER_VIRTUAL_BACKEND_H
#include "scene_qpainter.h"
diff --git a/backends/virtual/virtual_backend.h b/backends/virtual/virtual_backend.h
index 99041067cc..254d7d4fcf 100644
--- a/backends/virtual/virtual_backend.h
+++ b/backends/virtual/virtual_backend.h
@@ -17,8 +17,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*********************************************************************/
-#ifndef KWIN_X11WINDOWED_BACKEND_H
-#define KWIN_X11WINDOWED_BACKEND_H
+#ifndef KWIN_VIRTUAL_BACKEND_H
+#define KWIN_VIRTUAL_BACKEND_H
#include "abstract_backend.h"
#include