On OS X, we have to #include <GMP/gmp.h> if we are using GMP.framework. Before
the recent GMP changes, gcc (incorrectly) used the gmp.h supplied by ghc but
that is gone now.
#ifndef REGS_H
#define REGS_H
+#if defined(HAVE_FRAMEWORK_GMP)
+#include <GMP/gmp.h>
+#else
#include "gmp.h" // Needs MP_INT definition
+#endif
/*
* Spark pools: used to store pending sparks
#include "SMP.h"
/* GNU mp library */
+#if defined(HAVE_FRAMEWORK_GMP)
+#include <GMP/gmp.h>
+#else
#include "gmp.h"
+#endif
/* Macros for STG/C code */
#include "Block.h"