diff --git a/src/Streamly/Internal/FileSystem/Event/Darwin.m b/src/Streamly/Internal/FileSystem/Event/Darwin.c similarity index 100% rename from src/Streamly/Internal/FileSystem/Event/Darwin.m rename to src/Streamly/Internal/FileSystem/Event/Darwin.c diff --git a/streamly.cabal b/streamly.cabal index 5706fb0b17..55c787972a 100644 --- a/streamly.cabal +++ b/streamly.cabal @@ -442,7 +442,7 @@ library if os(darwin) include-dirs: src/Streamly/Internal - c-sources: src/Streamly/Internal/FileSystem/Event/Darwin.m + c-sources: src/Streamly/Internal/FileSystem/Event/Darwin.c exposed-modules: Streamly.Internal.FileSystem.Event.Darwin if os(linux)