From: stolz Date: Sat, 29 Jan 2005 09:57:42 +0000 (+0000) Subject: [project @ 2005-01-29 09:57:42 by stolz] X-Git-Tag: Initial_conversion_from_CVS_complete~1152 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=134854fec9dc52d3fdf7ae312cea854d68e4a362;p=ghc-hetmet.git [project @ 2005-01-29 09:57:42 by stolz] USE_MMAP on FreeBSD as well --- diff --git a/ghc/rts/Linker.c b/ghc/rts/Linker.c index f507e47..4a2a51b 100644 --- a/ghc/rts/Linker.c +++ b/ghc/rts/Linker.c @@ -58,12 +58,12 @@ #include #endif -#if defined(ia64_HOST_ARCH) || defined(openbsd_HOST_OS) || defined(linux_HOST_OS) +#if defined(ia64_HOST_ARCH) || defined(openbsd_HOST_OS) || defined(linux_HOST_OS) || defined(freebsd_HOST_OS) #define USE_MMAP #include #include -#if defined(openbsd_HOST_OS) || defined(linux_HOST_OS) +#if defined(openbsd_HOST_OS) || defined(linux_HOST_OS) || defined(freebsd_HOST_OS) #ifdef HAVE_UNISTD_H #include #endif