summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-22 20:57:19 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-22 20:57:19 -0500
commit7d54f5e91a9c3c826acd75691621c8a140b34aca (patch)
treed3f5a2c15be54070d4fff22f3270bff27ea366d3
parentc029a34f3e378bd745e0fe04d7677ae5fdd54be8 (diff)
downloadqt3-7d54f5e91a9c3c826acd75691621c8a140b34aca.tar.gz
qt3-7d54f5e91a9c3c826acd75691621c8a140b34aca.zip
Apply gcc4.6 patches from Ubuntu
-rw-r--r--src/tools/qmap.h1
-rw-r--r--src/tools/qvaluelist.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/qmap.h b/src/tools/qmap.h
index 2c4eb03..4f9772f 100644
--- a/src/tools/qmap.h
+++ b/src/tools/qmap.h
@@ -52,6 +52,7 @@
#ifndef QT_NO_STL
#include <iterator>
#include <map>
+#include <cstddef>
#endif
//#define QT_CHECK_MAP_RANGE
diff --git a/src/tools/qvaluelist.h b/src/tools/qvaluelist.h
index cf7248e..95dc7ff 100644
--- a/src/tools/qvaluelist.h
+++ b/src/tools/qvaluelist.h
@@ -50,6 +50,7 @@
#ifndef QT_NO_STL
#include <iterator>
#include <list>
+#include <cstddef>
#endif
//#define QT_CHECK_VALUELIST_RANGE