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 <ogoffart@woboq.com>
bb10
Giuseppe D'Angelo 2012-03-16 21:48:31 +00:00 committed by Qt by Nokia
parent e67066eff6
commit 240ef4d9ec
1 changed files with 1 additions and 0 deletions

View File

@ -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>