[project @ 1998-05-31 15:25:02 by sof]
authorsof <unknown>
Sun, 31 May 1998 15:25:02 +0000 (15:25 +0000)
committersof <unknown>
Sun, 31 May 1998 15:25:02 +0000 (15:25 +0000)
Bring prototypes of cbits/ stubs into scope when compiling .hc file

ghc/lib/std/Directory.lhs

index 7a4c57a..51d20be 100644 (file)
@@ -17,7 +17,7 @@ some operating systems, it may also be possible to have paths which
 are relative to the current directory.
 
 \begin{code}
-{-# OPTIONS -#include <sys/stat.h> -#include <dirent.h> #-}
+{-# OPTIONS -#include <sys/stat.h> -#include <dirent.h> -#include "cbits/stgio.h" #-}
 module Directory 
    ( 
     Permissions(Permissions),