diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
index 9caad09775c6c49e4d15313978948378e552ddc9..cb0337d3f5ecf66a5b1ef28f3e2f8d7d2ecbc2a1 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
@@ -42,6 +42,7 @@
 #include <QtGui/QDesktopServices>
 
 #include <algorithm>
+#include <cctype>
 
 typedef Core::SshConnectionParameters::AuthType AuthType;