From: Steve Reinhardt Date: Sat, 14 Jul 2007 19:12:46 +0000 (-0700) Subject: Make NO_FAST_ALLOC compile. X-Git-Tag: m5_2.0_beta4~300 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2ee69d68750b51cd515d6eeedc5d45cd68baf12;p=gem5.git Make NO_FAST_ALLOC compile. --HG-- extra : convert_revision : 80579a61eb8d220e75cdee11bc09ca985c8fd85c --- diff --git a/src/base/fast_alloc.cc b/src/base/fast_alloc.cc index 610dff66c..e1298a8bd 100644 --- a/src/base/fast_alloc.cc +++ b/src/base/fast_alloc.cc @@ -34,15 +34,15 @@ * by permission. */ -#ifndef NO_FAST_ALLOC +#include +#include "base/fast_alloc.hh" + +#if !NO_FAST_ALLOC #ifdef __GNUC__ #pragma implementation #endif -#include -#include "base/fast_alloc.hh" - void *FastAlloc::freeLists[Num_Buckets]; #ifdef FAST_ALLOC_STATS