diff --git a/Data/Time/Clock/CTimeval.hs b/Data/Time/Clock/CTimeval.hs
index 0e830723782856291b94bfe2c5d57d72a4e83493..ab5fd796bf23852443988445f432d7566d67e359 100644
--- a/Data/Time/Clock/CTimeval.hs
+++ b/Data/Time/Clock/CTimeval.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -cpp #-}
+{-# OPTIONS -cpp #-}
 
 -- #hide
 module Data.Time.Clock.CTimeval where
diff --git a/test/TestEaster.hs b/test/TestEaster.hs
index 290c066b20f194ec2ffd29e3fe54099b01c563d4..8aae5cee3b4c5e186c905bbab2f36ecb1db955bc 100644
--- a/test/TestEaster.hs
+++ b/test/TestEaster.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror #-}
 
 module Main where
 
diff --git a/test/TestFormat.hs b/test/TestFormat.hs
index ecfa9fa107daef24684a9c6879c6bba65f38328a..b827e0aa47142fc2a7333bebb5f0615d8e9c7e09 100644
--- a/test/TestFormat.hs
+++ b/test/TestFormat.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -Wall -Werror #-}
+{-# OPTIONS -XForeignFunctionInterface -Wall -Werror #-}
 
 module Main where
 
diff --git a/test/TestParseDAT.hs b/test/TestParseDAT.hs
index ee56d4955b885e5b95ae045692bbe68b2f38c953..181ca08c9d611a7579d0ee1ab353e81c9a78039e 100644
--- a/test/TestParseDAT.hs
+++ b/test/TestParseDAT.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror #-}
 
 module Main where