Magellan Linux

Annotation of /trunk/hwinfo/patches/hwinfo-17.0-scsi-u8-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1043 - (hide annotations) (download)
Fri May 7 19:50:50 2010 UTC (14 years, 1 month ago) by niro
File size: 522 byte(s)
-fix build issues against newer kernel headers

1 niro 1043 # fixes build issues with newer kernels
2     # see http://lists.busybox.net/pipermail/buildroot/2009-December/030773.html
3    
4     diff -Naur hwinfo-17.0/src/hd/dvd.c hwinfo-17.0-magellan/src/hd/dvd.c
5     --- hwinfo-17.0/src/hd/dvd.c 2010-03-17 12:51:38.000000000 +0100
6     +++ hwinfo-17.0-magellan/src/hd/dvd.c 2010-05-07 21:52:48.000000000 +0200
7     @@ -48,6 +48,8 @@
8     #include <mntent.h>
9     #include <sys/wait.h>
10     #include <sys/utsname.h>
11     +#include <stdint.h>
12     +typedef uint8_t u8;
13     #include <scsi/scsi.h>
14     #include <scsi/sg.h>
15     #include <poll.h>