Add missing #include <stdlib.h>
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 20 Oct 2011 19:22:06 +0000 (21:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Apr 2012 03:37:22 +0000 (05:37 +0200)
rand, malloc and free are defined in that header. Always include your
headers.

Change-Id: Iac052646617e0d038bc4a04709f32384d5f2e9e8
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/qml/qml/ftw/qqmlpool.cpp
src/qml/qml/v8/qjsconverter_impl_p.h

index 64df87a..2ff2cd0 100644 (file)
@@ -40,6 +40,7 @@
 ****************************************************************************/
 
 #include "qqmlpool_p.h"
+#include <stdlib.h>
 
 #ifdef Q_OS_QNX
 #include <malloc.h>
index c2775df..ab004a5 100644 (file)
@@ -40,6 +40,7 @@
 ****************************************************************************/
 
 #include "qjsconverter_p.h"
+#include <stdlib.h>
 
 #ifndef QJSCONVERTER_IMPL_P_H
 #define QJSCONVERTER_IMPL_P_H