fix build w/o libmagic
This commit is contained in:
parent
37d698cdad
commit
ed2a8498a4
1 changed files with 1 additions and 1 deletions
|
@ -41,5 +41,5 @@ getMagicMimeType :: Magic -> FilePath -> IO (Maybe MimeType)
|
|||
#ifdef WITH_MAGICMIME
|
||||
getMagicMimeType m f = Just <$> magicFile m f
|
||||
#else
|
||||
getMagicMimeType = return Nothing
|
||||
getMagicMimeType _ _ = return Nothing
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue