forked from ports/contrib
731ee8b18b
Now runs as unprivileged user Improved startup script
14 lines
441 B
Diff
14 lines
441 B
Diff
--- lirc-0.9.0/drivers/lirc_serial/lirc_serial.c.orig 2013-03-11 23:21:07.238776562 +0900
|
|
+++ lirc-0.9.0/drivers/lirc_serial/lirc_serial.c 2013-03-11 23:21:41.245768838 +0900
|
|
@@ -66,7 +66,10 @@
|
|
#include <linux/poll.h>
|
|
#include <linux/platform_device.h>
|
|
|
|
+#include <linux/version.h>
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
|
|
#include <asm/system.h>
|
|
+#endif
|
|
#include <linux/io.h>
|
|
#include <linux/irq.h>
|
|
#include <linux/fcntl.h>
|