summaryrefslogtreecommitdiff
path: root/sysutils/gamin/patches/patch-ad
blob: 6bb6f90e9b5e650378e3e5967648e51d0cc48b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ad,v 1.2 2005/08/30 23:24:33 jlam Exp $

--- server/gam_server.c.orig	2005-08-09 14:30:12.000000000 -0400
+++ server/gam_server.c
@@ -56,6 +56,21 @@ gboolean (*gam_backend_add_subscription)
 gboolean (*gam_backend_remove_subscription) (GamSubscription *sub);
 gboolean (*gam_backend_remove_all_for)   (GamListener *listener);
 
+#ifndef ENABLE_INOTIFY
+/**
+ * gam_inotify_is_running
+ *
+ * Unless built with inotify support, always
+ * return false.
+ */
+gboolean
+gam_inotify_is_running(void)
+{
+	return FALSE;
+}
+#endif
+
+
 /**
  * gam_exit:
  *