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.
/* -----------------------------------------------------------------------------
- * $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
*
*/
#define __STDC_LIMIT_MACROS
#include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
#else
/* second best guess (e.g. on Solaris) */
#include <limits.h>