tracker r3180 - in trunk: . src/tracker-extract src/tracker-indexer src/trackerd
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r3180 - in trunk: . src/tracker-extract src/tracker-indexer src/trackerd
- Date: Mon, 6 Apr 2009 13:17:37 +0000 (UTC)
Author: mr
Date: Mon Apr 6 13:17:37 2009
New Revision: 3180
URL: http://svn.gnome.org/viewvc/tracker?rev=3180&view=rev
Log:
* src/tracker-extract/tracker-main.c:
* src/tracker-indexer/tracker-main.c:
* src/trackerd/tracker-main.c: Use #ifdef __linux__ before
including /usr/include/linux/ files. Fixes bug #577656 (Jasper
Lievisse Adriaanse).
Modified:
trunk/ChangeLog
trunk/src/tracker-extract/tracker-main.c
trunk/src/tracker-indexer/tracker-main.c
trunk/src/trackerd/tracker-main.c
Modified: trunk/src/tracker-extract/tracker-main.c
==============================================================================
--- trunk/src/tracker-extract/tracker-main.c (original)
+++ trunk/src/tracker-extract/tracker-main.c Mon Apr 6 13:17:37 2009
@@ -29,7 +29,9 @@
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
+#if defined(__linux__)
#include <linux/sched.h>
+#endif
#include <sched.h>
#include <glib.h>
Modified: trunk/src/tracker-indexer/tracker-main.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-main.c (original)
+++ trunk/src/tracker-indexer/tracker-main.c Mon Apr 6 13:17:37 2009
@@ -26,7 +26,9 @@
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
+#if defined(__linux__)
#include <linux/sched.h>
+#endif
#include <sched.h>
#include <glib.h>
Modified: trunk/src/trackerd/tracker-main.c
==============================================================================
--- trunk/src/trackerd/tracker-main.c (original)
+++ trunk/src/trackerd/tracker-main.c Mon Apr 6 13:17:37 2009
@@ -33,7 +33,9 @@
#include <fcntl.h>
#include <errno.h>
#include <time.h>
+#if defined(__linux__)
#include <linux/sched.h>
+#endif
#include <sched.h>
#include <glib.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]