Commit 78bbce57 authored by rl@cse.unsw.edu.au's avatar rl@cse.unsw.edu.au

Include HsVersions.h where necessary

parent ba09ea0d
......@@ -111,6 +111,8 @@ module CLabel (
pprCLabel
) where
#include "HsVersions.h"
import StaticFlags
import Packages
import DataCon
......
......@@ -30,6 +30,8 @@ module PprC (
pprStringInCStyle
) where
#include "HsVersions.h"
-- Cmm stuff
import Cmm
import CLabel
......
......@@ -33,6 +33,8 @@ module DriverPhases (
isSourceFilename -- :: FilePath -> Bool
) where
#include "HsVersions.h"
import Panic ( panic )
import System.FilePath
......
......@@ -14,6 +14,8 @@ module PositionIndependentCode (
initializePicBase
) where
#include "HsVersions.h"
{-
This module handles generation of position independent code and
dynamic-linking related issues for the native code generator.
......
......@@ -24,6 +24,8 @@ module PprMach (
pprInstr, pprSize, pprUserReg
) where
#include "HsVersions.h"
import Cmm
import MachOp ( MachRep(..), wordRep, isFloatingRep )
import MachRegs -- may differ per-platform
......
......@@ -25,6 +25,8 @@ module TcForeign
, tcForeignExports
) where
#include "HsVersions.h"
import HsSyn
import TcRnMonad
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment