Skip to content

Commit 662554f

Browse files
committed
Fix build if HAVE_ALARM is undefined
1 parent 978e4e7 commit 662554f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

System/Posix/Signals.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ import Foreign.ForeignPtr
101101
import Foreign.Marshal
102102
import Foreign.Ptr
103103
import Foreign.Storable
104-
#if !defined(HAVE_SIGNAL_H)
104+
#if !defined(HAVE_SIGNAL_H) || !defined(HAVE_ALARM)
105105
import System.IO.Error ( ioeSetLocation )
106106
import GHC.IO.Exception ( unsupportedOperation )
107107
#endif

0 commit comments

Comments
 (0)