summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-07 23:59:57 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-07 23:59:57 +0200
commitee31b6a137195aa55cb98b0b8e65c587487ea0db (patch)
tree2729fd22566343955eaec6eaba702d6fe823b923
parent71fddd30ba03374fde7d740085f10a17be17f106 (diff)
downloadcppunit-ee31b6a137195aa55cb98b0b8e65c587487ea0db.tar.gz
use portable way to access free, fdo#52536
-rw-r--r--src/cppunit/TypeInfoHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/TypeInfoHelper.cpp b/src/cppunit/TypeInfoHelper.cpp
index 8c97178..2df5786 100644
--- a/src/cppunit/TypeInfoHelper.cpp
+++ b/src/cppunit/TypeInfoHelper.cpp
@@ -6,7 +6,7 @@
#include <string>
#if CPPUNIT_HAVE_GCC_ABI_DEMANGLE
-#include <malloc.h>
+#include <cstdlib>
#include <cxxabi.h>
#endif