diff --git a/wayland_server/seat_interface.cpp b/wayland_server/seat_interface.cpp
index fef594f4c0..a8a880b072 100644
--- a/wayland_server/seat_interface.cpp
+++ b/wayland_server/seat_interface.cpp
@@ -24,6 +24,10 @@ along with this program. If not, see .
#include
#include
+#ifndef WL_SEAT_NAME_SINCE_VERSION
+#define WL_SEAT_NAME_SINCE_VERSION 2
+#endif
+
namespace KWin
{