mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-21 02:09:53 +02:00
20 lines
681 B
Diff
20 lines
681 B
Diff
|
diff -ru serdisplib-1.96.orig/src/serdisp_connect.c serdisplib-1.96/src/serdisp_connect.c
|
||
|
--- serdisplib-1.96.orig/src/serdisp_connect.c 2005-10-07 20:40:50.000000000 +0200
|
||
|
+++ serdisplib-1.96/src/serdisp_connect.c 2005-12-12 18:48:58.000000000 +0200
|
||
|
@@ -60,6 +60,7 @@
|
||
|
/* directIO only with linux and i386 */
|
||
|
#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__))
|
||
|
#define __sd_linux_use_directIO__ 1
|
||
|
+ #include <sys/io.h>
|
||
|
#endif
|
||
|
|
||
|
|
||
|
@@ -67,7 +68,6 @@
|
||
|
#if defined(__linux__)
|
||
|
#include <linux/ppdev.h>
|
||
|
#include <linux/parport.h>
|
||
|
- #include <sys/io.h>
|
||
|
#include <stdlib.h>
|
||
|
#define OUTB(_d, _p) outb( (_d), (_p) )
|
||
|
#define INB(_p) inb( (_p) )
|