[tracker/SCHED_IDLE] libtracker-common: Fix broken function declaration ifndef __linux__



commit ed9280d3a3dca4bffcecb1d4f3d8fab208ab08ec
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Sep 23 17:11:03 2011 +0100

    libtracker-common: Fix broken function declaration ifndef __linux__

 src/libtracker-common/tracker-sched.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-common/tracker-sched.c b/src/libtracker-common/tracker-sched.c
index acec7a3..38d13fd 100644
--- a/src/libtracker-common/tracker-sched.c
+++ b/src/libtracker-common/tracker-sched.c
@@ -68,8 +68,12 @@ tracker_sched_idle (void)
 
 #else /* __linux__ */
 
+#include <glib.h>
+
+#include "tracker-sched.h"
+
 gboolean
-tracker_sched_idle (gboolean enable)
+tracker_sched_idle (void)
 {
 	return TRUE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]