From e8ce3ea92780e3ff41bcc2d2c09ceac5fbbe83bb Mon Sep 17 00:00:00 2001 From: Marcus Rohrmoser Date: Thu, 26 Sep 2024 22:19:38 +0200 Subject: [PATCH] apply the fix suggested by https://github.com/ocaml/ocaml-lsp/issues/1069#issuecomment-1684916146 --- lev/vendor/ev.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lev/vendor/ev.c b/lev/vendor/ev.c index a99d7b0..7230b19 100644 --- a/lev/vendor/ev.c +++ b/lev/vendor/ev.c @@ -510,6 +510,11 @@ # endif #endif +#if __FreeBSD__ +#define EV_USE_INOTIFY 0 +#define EV_USE_KQUEUE 1 +#endif + #if EV_USE_INOTIFY # include # include