We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db258be commit 6300cadCopy full SHA for 6300cad
submodules/lev/lev/src/config.h
@@ -47,7 +47,11 @@
47
#endif
48
49
#if __has_include(<sys/inotify.h>)
50
-#define HAVE_INOTIFY_INIT 1
+# if __FreeBSD__
51
+ // inotify_init seems to require linking against glib
52
+# else
53
+# define HAVE_INOTIFY_INIT 1
54
+# endif
55
56
57
#if __has_include(<linux/fs.h>)
submodules/lev/lev/vendor/ev.c
@@ -507,12 +507,7 @@
507
508
509
#if EV_USE_INOTIFY
510
-# ifdef __FreeBSD__
511
-# include <sys/param.h>
512
-# include <sys/mount.h>
513
-# else
514
-# include <sys/statfs.h>
515
-# endif
+# include <sys/statfs.h>
516
# include <sys/inotify.h>
517
/* some very old inotify.h headers don't have IN_DONT_FOLLOW */
518
# ifndef IN_DONT_FOLLOW
0 commit comments