summaryrefslogtreecommitdiff
path: root/network/irda-utils/patches/irda-utils-0.9.18-fixup_io.c_include.diff
blob: 3f82bc3a5b15ccad0112d63335707e34ccd6f550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -Nur irda-utils-0.9.18.orig/findchip/nsc.c irda-utils-0.9.18/findchip/nsc.c
--- irda-utils-0.9.18.orig/findchip/nsc.c	2006-07-11 01:16:06.000000000 -0500
+++ irda-utils-0.9.18/findchip/nsc.c	2009-10-14 00:22:39.372013759 -0500
@@ -33,7 +33,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <asm/io.h>
+#include <sys/io.h>
 
 #include "findchip.h"
 
diff -Nur irda-utils-0.9.18.orig/findchip/smc.c irda-utils-0.9.18/findchip/smc.c
--- irda-utils-0.9.18.orig/findchip/smc.c	2006-07-11 01:16:06.000000000 -0500
+++ irda-utils-0.9.18/findchip/smc.c	2009-10-14 00:22:42.770014109 -0500
@@ -32,7 +32,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <asm/io.h>
+#include <sys/io.h>
 
 #include "findchip.h"
 
diff -Nur irda-utils-0.9.18.orig/findchip/winbond.c irda-utils-0.9.18/findchip/winbond.c
--- irda-utils-0.9.18.orig/findchip/winbond.c	2006-07-11 01:16:06.000000000 -0500
+++ irda-utils-0.9.18/findchip/winbond.c	2009-10-14 00:22:45.938995740 -0500
@@ -32,7 +32,7 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <asm/io.h>
+#include <sys/io.h>
 
 #include "findchip.h"