Merge pull request #178 from diogob/fix-darwin-build
Add missing imports when host OS is darwin so build won't fail on macOS.
commitcb26d3b09f8796193202d140dc49e806f483b20d
authorAgentM <agentm@themactionfaction.com>
dateSat 16 Dec 2017, 10:36 (9 years ago)
parentf6d863a5f16ead
src/lib/ProjectM36/FSType.hs+4
@@ -45,6 +45,10 @@ fsTypeSupportsJournaling path = do
4545 pure (fsFlags .&. FILE_SUPPORTS_USN_JOURNAL /= 0)
4646
4747#elif darwin_HOST_OS
48+import Foreign.C.Error
49+import Foreign.C.String
50+import Foreign.C.Types
51+
4852--Darwin reports journaling directly in the fs flags
4953
5054type CStatFS = ()