From a6c14964c8094e7816d544cdb0b1c47057e76577 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 1 Sep 2011 11:44:13 -0700 Subject: [PATCH] rt: Include rust_shape.h in rust_obstack.cpp and remove the duplicate DPRINT() macro --- src/rt/rust_obstack.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rt/rust_obstack.cpp b/src/rt/rust_obstack.cpp index 81e57af1984..a3a992c2c57 100644 --- a/src/rt/rust_obstack.cpp +++ b/src/rt/rust_obstack.cpp @@ -3,11 +3,13 @@ #include #include #include +#include #include #include #include "rust_internal.h" #include "rust_obstack.h" +#include "rust_shape.h" #include "rust_task.h" // ISAAC, let go of max()! @@ -15,9 +17,6 @@ #undef max #endif -//#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__) -#define DPRINT(fmt,...) - //const size_t DEFAULT_CHUNK_SIZE = 4096; const size_t DEFAULT_CHUNK_SIZE = 500000; const size_t DEFAULT_ALIGNMENT = 16;