summaryrefslogtreecommitdiff
path: root/sysutils/watchman/files/patch-watcher_inotify.c
blob: 335276f46c4b3e671af43716f65575ecd4d8f83e (plain) (blame)
1
2
3
4
5
6
7
8
9
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