[maemo-commits] [maemo-commits] r17630 - projects/haf/trunk/hildon-thumbnail/daemon

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Mar 10 16:03:34 EET 2009
Author: pvanhoof
Date: 2009-03-10 16:03:22 +0200 (Tue, 10 Mar 2009)
New Revision: 17630

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c
Log:
Setting SCHED_IDLE to default 5 in case of too old kernel headers

Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c	2009-03-10 11:26:38 UTC (rev 17629)
+++ projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c	2009-03-10 14:03:22 UTC (rev 17630)
@@ -26,6 +26,10 @@
 #include <linux/sched.h>
 #include <sched.h>
 
+#ifndef SCHED_IDLE
+#define SCHED_IDLE 5
+#endif
+
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>
 #endif


More information about the maemo-commits mailing list