aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2011-10-20 21:22:06 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-12 05:37:22 +0200
commit1c711af1ed92a1cf334aff68244ec2a8cc9f0423 (patch)
treef47c8f906a9986e30d18e20d01f432a8e6c60be1 /src
parenta2db1421375d8825ab12753af16d44f03f81b488 (diff)
Add missing #include <stdlib.h>
rand, malloc and free are defined in that header. Always include your headers. Change-Id: Iac052646617e0d038bc4a04709f32384d5f2e9e8 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/qml/qml/ftw/qqmlpool.cpp1
-rw-r--r--src/qml/qml/v8/qjsconverter_impl_p.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/ftw/qqmlpool.cpp b/src/qml/qml/ftw/qqmlpool.cpp
index 64df87ada5..2ff2cd054f 100644
--- a/src/qml/qml/ftw/qqmlpool.cpp
+++ b/src/qml/qml/ftw/qqmlpool.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
#include "qqmlpool_p.h"
+#include <stdlib.h>
#ifdef Q_OS_QNX
#include <malloc.h>
diff --git a/src/qml/qml/v8/qjsconverter_impl_p.h b/src/qml/qml/v8/qjsconverter_impl_p.h
index c2775df7f5..ab004a543e 100644
--- a/src/qml/qml/v8/qjsconverter_impl_p.h
+++ b/src/qml/qml/v8/qjsconverter_impl_p.h
@@ -40,6 +40,7 @@
****************************************************************************/
#include "qjsconverter_p.h"
+#include <stdlib.h>
#ifndef QJSCONVERTER_IMPL_P_H
#define QJSCONVERTER_IMPL_P_H