Skip to content
Snippets Groups Projects
Commit 662554ff authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix build if HAVE_ALARM is undefined

parent 978e4e78
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ import Foreign.ForeignPtr
import Foreign.Marshal
import Foreign.Ptr
import Foreign.Storable
#if !defined(HAVE_SIGNAL_H)
#if !defined(HAVE_SIGNAL_H) || !defined(HAVE_ALARM)
import System.IO.Error ( ioeSetLocation )
import GHC.IO.Exception ( unsupportedOperation )
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment