mail/rspamd-devel: unbreak build on -current after inotify implementation (+)

Approved by:	portmgr blanket
This commit is contained in:
Dima Panov
2025-07-18 21:38:16 +03:00
parent d9de670a7b
commit ee526ccf38

View File

@@ -0,0 +1,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