From 434e1390e1283bd7b994deebeafa1a5f6b572e9c Mon Sep 17 00:00:00 2001 From: nojebar Date: Sat, 16 Apr 2022 13:33:03 +0200 Subject: [PATCH] Fix Cygwin compilation Signed-off-by: nojebar --- src/spawn_stubs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spawn_stubs.c b/src/spawn_stubs.c index eabf6f6..870baa0 100644 --- a/src/spawn_stubs.c +++ b/src/spawn_stubs.c @@ -29,7 +29,9 @@ CAMLprim value spawn_is_osx() #include #include +#if !defined(__CYGWIN__) #include +#endif #include #include #include