fix windows build

This commit is contained in:
Joey Hess 2019-05-03 10:58:34 -04:00
parent 3eeb5a732c
commit ab36f2f535
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -16,6 +16,7 @@ module Annex.Magic (
getMagicMimeEncoding,
) where
import Types.Mime
#ifdef WITH_MAGICMIME
import Magic
import Utility.Env
@ -23,7 +24,6 @@ import Common
#else
type Magic = ()
#endif
import Types.Mime
initMagicMime :: IO (Maybe Magic)
#ifdef WITH_MAGICMIME