aboutsummaryrefslogtreecommitdiffstats
path: root/testing/unison/fix_inotify_check.patch
blob: 009ce789cc848759e715ed50f7e83a2c2265bb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ru a/fsmonitor/linux/inotify_stubs.c b/fsmonitor/linux/inotify_stubs.c
--- a/fsmonitor/linux/inotify_stubs.c	2016-05-23 18:40:05.000000000 +0200
+++ b/fsmonitor/linux/inotify_stubs.c	2017-01-23 23:14:47.613834613 +0100
@@ -35,6 +35,9 @@
 #define GLIBC_SUPPORT_INOTIFY 0
 #endif
 
+/* Alpine linux supports inotify */
+#define GLIBC_SUPPORT_INOTIFY 1
+
 #if GLIBC_SUPPORT_INOTIFY
 #include <sys/inotify.h>
 #else