diff --git a/cbits/wrap.h b/cbits/wrap.h
new file mode 100644
--- /dev/null
+++ b/cbits/wrap.h
@@ -0,0 +1,20 @@
+/*
+ * Extra bits for CUFFT bindings
+ */
+
+#ifndef C_WRAP_H
+#define C_WRAP_H
+
+/*
+ * We need to work around some shortcomings in the C parser of c2hs by disabling advanced attributes etc on Apple platforms.
+ */
+#ifdef __APPLE__
+#define _ANSI_SOURCE
+#define __AVAILABILITY__
+#define __OSX_AVAILABLE_STARTING(_mac, _iphone)
+#define __OSX_AVAILABLE_BUT_DEPRECATED(_macIntro, _macDep, _iphoneIntro, _iphoneDep)
+#endif
+
+#include <cufft.h>
+
+#endif
diff --git a/cufft.cabal b/cufft.cabal
--- a/cufft.cabal
+++ b/cufft.cabal
@@ -2,7 +2,7 @@
 --  see http://haskell.org/cabal/users-guide/
 
 name:                cufft
-version:             0.1.0.2
+version:             0.1.0.3
 synopsis:            Haskell bindings for the CUFFT library
 description:         The CUFFT library is part of the CUDA developer toolkit.
                      .
@@ -27,6 +27,7 @@
                         config.sub
                         install-sh
                         cufft.buildinfo.in
+                        cbits/wrap.h
 
 library
   exposed-modules:      Foreign.CUDA.FFT
