summaryrefslogtreecommitdiff
path: root/mail/rspamd-devel/files/patch-contrib_libev_ev.c
blob: 1329653816679ca1658fbb2108ec9fbdf023bba5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- contrib/libev/ev.c.orig	2025-06-17 09:32:30 UTC
+++ contrib/libev/ev.c
@@ -527,7 +527,11 @@
 #endif
 
 #if EV_USE_INOTIFY
-# include <sys/statfs.h>
+# ifdef __FreeBSD__
+# 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