[project @ 2001-06-22 13:28:44 by rrt]
authorrrt <unknown>
Fri, 22 Jun 2001 13:28:44 +0000 (13:28 +0000)
committerrrt <unknown>
Fri, 22 Jun 2001 13:28:44 +0000 (13:28 +0000)
Move include of config.h to top so it works for mkdependC.

ghc/compiler/main/DriverPhases.hs

index 69840a3..663b807 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverPhases.hs,v 1.10 2001/06/14 15:42:35 simonpj Exp $
+-- $Id: DriverPhases.hs,v 1.11 2001/06/22 13:28:44 rrt Exp $
 --
 -- GHC Driver
 --
@@ -7,6 +7,8 @@
 --
 -----------------------------------------------------------------------------
 
+#include "../includes/config.h"
+
 module DriverPhases (
    Phase(..),
    startPhase,         -- :: String -> Phase
@@ -18,8 +20,6 @@ module DriverPhases (
    cish_file, cish_suffix
  ) where
 
-#include "../includes/config.h"
-
 import DriverUtil
 
 -----------------------------------------------------------------------------