summaryrefslogtreecommitdiff
path: root/debug.cc
diff options
context:
space:
mode:
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;