summaryrefslogtreecommitdiff
path: root/sysutils/gamin/patches/patch-ad
blob: 24e311bfd6e512a142c860beed281ee5acb63850 (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.1.1.1 2005/08/10 21:01:52 jlam Exp $

--- server/gam_server.c.orig	2005-08-09 18:30:12.000000000 +0000
+++ 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:
  *