summaryrefslogtreecommitdiff
path: root/rts/Profiling.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2006-09-10 20:06:11 +0000
committerIan Lynagh <igloo@earth.li>2006-09-10 20:06:11 +0000
commit0a414c46dd2e812be2e6a1db5fd66f405b6143b7 (patch)
treefae124fc2bf8f233e0cb73bc5f0cba8f175df16b /rts/Profiling.c
parent2ab19ae554db9b9370bb31ba9cf9a5e53661df38 (diff)
downloadhaskell-0a414c46dd2e812be2e6a1db5fd66f405b6143b7.tar.gz
Fix warnings traceBegin/traceEnd implicitly declared
Diffstat (limited to 'rts/Profiling.c')
-rw-r--r--rts/Profiling.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/Profiling.c b/rts/Profiling.c
index 695d66e019..f865d0a9cf 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -23,6 +23,10 @@
#include <string.h>
+#ifdef DEBUG
+#include "Trace.h"
+#endif
+
/*
* Profiling allocation arena.
*/