diff --git a/libtaskmanager/launchertasksmodel.cpp b/libtaskmanager/launchertasksmodel.cpp
index eafcfdb21..defcd8aea 100644
--- a/libtaskmanager/launchertasksmodel.cpp
+++ b/libtaskmanager/launchertasksmodel.cpp
@@ -37,6 +37,7 @@ License along with this library. If not, see .
#include
#include
#include
+#include
#if HAVE_X11
#include
#endif
diff --git a/libtaskmanager/tasktools.cpp b/libtaskmanager/tasktools.cpp
index 8a4ce766f..ed48fb7c5 100644
--- a/libtaskmanager/tasktools.cpp
+++ b/libtaskmanager/tasktools.cpp
@@ -45,6 +45,7 @@ License along with this library. If not, see .
#include
#include
#include
+#include
#if HAVE_X11
#include
#endif
diff --git a/libtaskmanager/xwindowtasksmodel.cpp b/libtaskmanager/xwindowtasksmodel.cpp
index 42354042a..f0d6a80f4 100644
--- a/libtaskmanager/xwindowtasksmodel.cpp
+++ b/libtaskmanager/xwindowtasksmodel.cpp
@@ -41,6 +41,7 @@ License along with this library. If not, see .
#include
#include
#include
+#include
#include
namespace TaskManager