Skip to content

Commit

Permalink
apply the fix suggested by ocaml/ocaml-lsp#1069 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
mro committed Sep 26, 2024
1 parent 21de366 commit e8ce3ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lev/vendor/ev.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@
# endif
#endif

#if __FreeBSD__
#define EV_USE_INOTIFY 0
#define EV_USE_KQUEUE 1
#endif

#if EV_USE_INOTIFY
# include <sys/statfs.h>
# include <sys/inotify.h>
Expand Down

0 comments on commit e8ce3ea

Please sign in to comment.