Index: qtwebkit/Source/JavaScriptCore/wtf/Platform.h =================================================================== --- qtwebkit.orig/Source/JavaScriptCore/wtf/Platform.h 2011-12-25 23:12:15.000000000 +0400 +++ qtwebkit/Source/JavaScriptCore/wtf/Platform.h 2013-12-03 23:51:43.577110918 +0400 @@ -774,6 +774,10 @@ #define HAVE_TIMEGM 1 #endif +#if OS(SOLARIS) +#define USE_SYSTEM_MALLOC 1 +#endif + #if OS(DARWIN) #define HAVE_ERRNO_H 1