Author: Geoff Simmons
Description: This trivial patch allows martian-modem kernelspace part to build against 2.6.32 and its new scheduler
--- martian-full-20080625.orig/kmodule/martian.c 2010-01-22 06:08:13.397981051 -0300
+++ martian-full-20080625/kmodule/martian.c 2010-01-22 06:15:08.076988441 -0300
@@ -38,6 +38,10 @@
#include <linux/poll.h>
#include <linux/interrupt.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32)
+#include <linux/sched.h>
+#endif
+
#include "kmartian.h"
#include "../martian.h"
#include "marsio.h"