path: root/config.tests
diff options
authorGiuseppe D'Angelo <>2012-03-16 21:48:31 +0000
committerQt by Nokia <>2012-03-20 17:30:32 +0100
commit240ef4d9ec9b4dff033a3bd27d400a5019098939 (patch)
tree44e4ada223cbbe16ed653d8b18f32a08d9d388e4 /config.tests
parente67066eff6f6497425877c59d332c2c3161488da (diff)
Fix stltest compilation
The usage of std:ptrdiff_t in the test requires the #inclusion of the cstddef header. Task-number: QTBUG-24828 Change-Id: I7e1ca6ee010469708f8da1709563b5ebced972e5 Reviewed-by: Anssi Eteläniemi Reviewed-by: Olivier Goffart <>
Diffstat (limited to 'config.tests')
1 files changed, 1 insertions, 0 deletions
diff --git a/config.tests/unix/stl/stltest.cpp b/config.tests/unix/stl/stltest.cpp
index e17c7cbba7..5134c623c3 100644
--- a/config.tests/unix/stl/stltest.cpp
+++ b/config.tests/unix/stl/stltest.cpp
@@ -49,6 +49,7 @@ templates for common STL container classes.
#include <vector>
#include <algorithm>
#include <iostream>
+#include <cstddef>
// something mean to see if the compiler and C++ standard lib are good enough
template<class K, class T>