summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2009-01-22 10:52:27 +0100
committerReinhard Tartler <siretart@tauware.de>2009-01-22 10:52:27 +0100
commit6c17a128fc610eb02df4f1918ebe7c97c4f6960b (patch)
tree1a57ff562410a0f284eaddb3a820e4d8691b9d07
parentcad123b511f0671ac05bdc69764050085eb2ffb5 (diff)
include missing cstdlib
-rw-r--r--lib/common/DebugMemLeakFinder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common/DebugMemLeakFinder.cpp b/lib/common/DebugMemLeakFinder.cpp
index 1527661f..bd3cca20 100644
--- a/lib/common/DebugMemLeakFinder.cpp
+++ b/lib/common/DebugMemLeakFinder.cpp
@@ -63,6 +63,7 @@
#include <stdio.h>
#include <string.h>
#include <set>
+#include <cstdlib> // for std::atexit
#include "MemLeakFinder.h"
@@ -433,7 +434,7 @@ void memleakfinder_setup_exit_report(const char *filename, const char *markertex
::strcpy(atexit_markertext, markertext);
if(!atexit_registered)
{
- std:atexit(memleakfinder_atexit);
+ std::atexit(memleakfinder_atexit);
atexit_registered = true;
}
}