From 15b0ec8a5617878790f8f783c82d23f414f8c9bf Mon Sep 17 00:00:00 2001 From: panne Date: Fri, 27 Dec 2002 11:35:16 +0000 Subject: [PATCH] [project @ 2002-12-27 11:35:16 by panne] * Fixed non-Mac-OS-X-builds * Warning police: Fixed #includes --- ghc/compiler/ghci/Linker.lhs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ghc/compiler/ghci/Linker.lhs b/ghc/compiler/ghci/Linker.lhs index 3caefbb..727bfc1 100644 --- a/ghc/compiler/ghci/Linker.lhs +++ b/ghc/compiler/ghci/Linker.lhs @@ -13,7 +13,7 @@ necessary. \begin{code} -{-# OPTIONS -optc-DNON_POSIX_SOURCE #-} +{-# OPTIONS -optc-DNON_POSIX_SOURCE -#include "Linker.h" #-} module Linker ( HValue, initLinker, showLinkerState, linkLibraries, linkExpr, @@ -31,8 +31,10 @@ import ByteCodeItbls ( ItblEnv ) import ByteCodeAsm ( CompiledByteCode(..), bcoFreeNames, UnlinkedBCO(..)) import Packages -import DriverState ( v_Library_paths, v_Opt_l, - v_Cmdline_frameworks, v_Framework_paths, getStaticOpts ) +import DriverState ( v_Library_paths, v_Opt_l, getStaticOpts ) +#ifdef darwin_TARGET_OS +import DriverState ( v_Cmdline_frameworks, v_Framework_paths ) +#endif import Finder ( findModule, findLinkable ) import HscTypes import Name ( Name, nameModule, isExternalName ) -- 1.7.10.4