diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
index 54853ebe4b868f0dec24b26277c95c1dca193173..24857bd115a783f779b46677a981ebccbf47e0e4 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
@@ -156,7 +156,7 @@ private:
         int port = 0;
         do {
             const char next = nextChar();
-            if (!std::isdigit(next))
+            if (!isdigit(next))
                 break;
             port = 10*port + next - '0';
             ++m_pos;