diff --git a/cbits/chsmpfr.h b/cbits/chsmpfr.h
--- a/cbits/chsmpfr.h
+++ b/cbits/chsmpfr.h
@@ -1,5 +1,5 @@
 #include <mpfr.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <inttypes.h>
 
 mpfr_ptr initS(const mp_prec_t );
diff --git a/hmpfr.cabal b/hmpfr.cabal
--- a/hmpfr.cabal
+++ b/hmpfr.cabal
@@ -1,5 +1,5 @@
 name:                hmpfr
-version:             0.3.3.4
+version:             0.3.3.5
 synopsis:            Haskell binding to the MPFR library
 description:         Haskell binding to the MPFR library. This version is compatible
                      with MPFR 2.4.* and later and will not work with previous releases
@@ -51,7 +51,7 @@
 source-repository this
   type:     mercurial
   location: https://code.google.com/p/hmpfr/
-  tag:      release-0.3.3.4
+  tag:      release-0.3.3.5
 
 
 flag use-integer-simple
