summaryrefslogtreecommitdiff
path: root/lib/Data/Packed
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data/Packed')
-rw-r--r--lib/Data/Packed/Internal/Vector.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Data/Packed/Internal/Vector.hs b/lib/Data/Packed/Internal/Vector.hs
index e5a7782..43b3fd8 100644
--- a/lib/Data/Packed/Internal/Vector.hs
+++ b/lib/Data/Packed/Internal/Vector.hs
@@ -60,6 +60,8 @@ import Data.Vector.Storable(Vector,
60 unsafeToForeignPtr, 60 unsafeToForeignPtr,
61 unsafeFromForeignPtr, 61 unsafeFromForeignPtr,
62 unsafeWith) 62 unsafeWith)
63#else
64import Foreign.ForeignPtr(withForeignPtr)
63#endif 65#endif
64 66
65#ifdef VECTOR 67#ifdef VECTOR