summaryrefslogtreecommitdiff
path: root/debug.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-28 22:23:11 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 05:48:43 -0400
commitf781dd566803a7cafb9bf079b15dd0453a103de4 (patch)
tree434909632014f4eac6b5e75c19feefcd16604b9b /debug.cc
parentd754367bfc4ed7d22811a26b267e406715f6ff92 (diff)
downloadfork-ledger-f781dd566803a7cafb9bf079b15dd0453a103de4.tar.gz
fork-ledger-f781dd566803a7cafb9bf079b15dd0453a103de4.tar.bz2
fork-ledger-f781dd566803a7cafb9bf079b15dd0453a103de4.zip
*** no comment ***
Diffstat (limited to 'debug.cc')
-rw-r--r--debug.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.cc b/debug.cc
index b7f15120..d9fda17c 100644
--- a/debug.cc
+++ b/debug.cc
@@ -7,6 +7,8 @@
#include <cstdlib>
#include <cstring>
+#include <unistd.h> // for the `write' method
+
int offset = 0;
std::map<void *, int> ptrs;