From 133dcbb95ce76179595ccee62c860aab4d5602e4 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 13 Nov 2000 17:17:40 +0000 Subject: [PATCH] [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. --- ghc/includes/HsFFI.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.4