[gnome-online-miners] tracker-ioprio, tracker-sched: Fix build failure on non-Linux systems
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-miners] tracker-ioprio, tracker-sched: Fix build failure on non-Linux systems
- Date: Tue, 21 Jan 2014 08:46:37 +0000 (UTC)
commit d2643c8cb625c238013a6f16c32bdff28cc58753
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Jan 21 09:45:28 2014 +0100
tracker-ioprio, tracker-sched: Fix build failure on non-Linux systems
Update our copies of those files.
https://bugzilla.gnome.org/show_bug.cgi?id=722525
src/tracker-ioprio.h | 2 ++
src/tracker-sched.c | 2 --
src/tracker-sched.h | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-ioprio.h b/src/tracker-ioprio.h
index 69c1846..728b575 100644
--- a/src/tracker-ioprio.h
+++ b/src/tracker-ioprio.h
@@ -21,6 +21,8 @@
#ifndef __LIBTRACKER_COMMON_IOPRIO_H__
#define __LIBTRACKER_COMMON_IOPRIO_H__
+#include <glib.h>
+
G_BEGIN_DECLS
void tracker_ioprio_init (void);
diff --git a/src/tracker-sched.c b/src/tracker-sched.c
index 71f6529..b34272c 100644
--- a/src/tracker-sched.c
+++ b/src/tracker-sched.c
@@ -28,8 +28,6 @@
#include <errno.h>
#include <sched.h>
-#include <glib.h>
-
#include "tracker-sched.h"
gboolean
diff --git a/src/tracker-sched.h b/src/tracker-sched.h
index 37a548e..fe06019 100644
--- a/src/tracker-sched.h
+++ b/src/tracker-sched.h
@@ -20,6 +20,8 @@
#ifndef __LIBTRACKER_COMMON_SCHED_H__
#define __LIBTRACKER_COMMON_SCHED_H__
+#include <glib.h>
+
G_BEGIN_DECLS
gboolean tracker_sched_idle (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]