Skip to content

Commit

Permalink
FreeBSD has no sys/statfs.h AFAIK
Browse files Browse the repository at this point in the history
  • Loading branch information
mro committed Feb 5, 2025
1 parent 58c71c7 commit 9020596
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion submodules/lev/lev/vendor/ev.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,12 @@
#endif

#if EV_USE_INOTIFY
# include <sys/statfs.h>
# ifdef __FreeBSD__
# include <sys/param.h>
# include <sys/mount.h>
# else
# include <sys/statfs.h>
# endif
# include <sys/inotify.h>
/* some very old inotify.h headers don't have IN_DONT_FOLLOW */
# ifndef IN_DONT_FOLLOW
Expand Down

0 comments on commit 9020596

Please sign in to comment.