summaryrefslogtreecommitdiff
path: root/sysutils/watchman/files/patch-watcher_inotify.c
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-08-23 12:31:05 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2025-08-23 12:31:49 -0700
commit7afccd2befd8c87a095ef03369bd9a7b8be92444 (patch)
tree406793f8c8e60ce80de6e1934364b33f641fdb74 /sysutils/watchman/files/patch-watcher_inotify.c
parentdevel/py-pytest-pycodestyle: Add forgotten patch (diff)
sysutils/watchman: Fix build on 15
... by adding build dependency on sys/inotify.h from devel/libinotify Reported by: fallout
Diffstat (limited to 'sysutils/watchman/files/patch-watcher_inotify.c')
-rw-r--r--sysutils/watchman/files/patch-watcher_inotify.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/watchman/files/patch-watcher_inotify.c b/sysutils/watchman/files/patch-watcher_inotify.c
new file mode 100644
index 000000000000..335276f46c4b
--- /dev/null
+++ b/sysutils/watchman/files/patch-watcher_inotify.c
@@ -0,0 +1,10 @@
+--- watcher/inotify.c.orig 2025-08-23 19:27:40 UTC
++++ watcher/inotify.c
+@@ -8,6 +8,7 @@
+ #ifndef IN_EXCL_UNLINK
+ /* defined in <linux/inotify.h> but we can't include that without
+ * breaking userspace */
++#include <sys/inotify.h> // from the libinotify package
+ # define WATCHMAN_IN_EXCL_UNLINK 0x04000000
+ #else
+ # define WATCHMAN_IN_EXCL_UNLINK IN_EXCL_UNLINK