From: simonmar Date: Mon, 13 Nov 2000 17:17:40 +0000 (+0000) Subject: [project @ 2000-11-13 17:17:40 by simonmar] X-Git-Tag: Approximately_9120_patches~3358 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=133dcbb95ce76179595ccee62c860aab4d5602e4;p=ghc-hetmet.git [project @ 2000-11-13 17:17:40 by simonmar] Pull in inttypes.h if we have it, as the second-favourite option after stdint.h. This should fix problems building the readline cbits on Solaris. --- diff --git a/ghc/includes/HsFFI.h b/ghc/includes/HsFFI.h index 597cdef..7ae1945 100644 --- a/ghc/includes/HsFFI.h +++ b/ghc/includes/HsFFI.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: HsFFI.h,v 1.8 2000/11/07 17:05:47 simonmar Exp $ + * $Id: HsFFI.h,v 1.9 2000/11/13 17:17:40 simonmar Exp $ * * (c) The GHC Team, 2000 * @@ -25,6 +25,8 @@ */ #define __STDC_LIMIT_MACROS #include +#elif defined(HAVE_INTTYPES_H) +#include #else /* second best guess (e.g. on Solaris) */ #include