From: simonmar Date: Tue, 30 Jan 2001 10:59:04 +0000 (+0000) Subject: [project @ 2001-01-30 10:59:04 by simonmar] X-Git-Tag: Approximately_9120_patches~2773 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5e5858bf97e28ab8e9c8fc4361890e41bd6f1d6b;p=ghc-hetmet.git [project @ 2001-01-30 10:59:04 by simonmar] put sys/types.h and sys/timeb.h includes under their own #ifdefs, instead of all under HAVE_WINDOWS_H. --- diff --git a/ghc/lib/std/Time.hsc b/ghc/lib/std/Time.hsc index f687944..2dd89d0 100644 --- a/ghc/lib/std/Time.hsc +++ b/ghc/lib/std/Time.hsc @@ -3,7 +3,7 @@ -- to compile on sparc-solaris. Blargh. -- ----------------------------------------------------------------------------- --- $Id: Time.hsc,v 1.8 2001/01/26 17:51:54 rrt Exp $ +-- $Id: Time.hsc,v 1.9 2001/01/30 10:59:04 simonmar Exp $ -- -- (c) The University of Glasgow, 1995-2001 -- @@ -104,12 +104,18 @@ module Time # include #endif -#ifdef HAVE_WINDOWS_H -#include +#ifdef HAVE_SYS_TYPES_H #include +#endif + +#ifdef HAVE_SYS_TIMEB_H #include #endif +#ifdef HAVE_WINDOWS_H +#include +#endif + import Ix import Locale