1 diff -ur a/rxtx-2.2pre2/src/I2CImp.c b/rxtx-2.2pre2/src/I2CImp.c
2 --- a/rxtx-2.2pre2/src/I2CImp.c 2007-04-26 08:26:05.000000000 +0300
3 +++ b/rxtx-2.2pre2/src/I2CImp.c 2010-04-25 16:01:06.000000000 +0300
5 # include <linux/types.h> /* fix for linux-2.3.4? kernels */
6 # include <linux/serial.h>
7 # include <linux/version.h>
8 +# include <generated/utsrelease.h>
12 diff -ur a/rxtx-2.2pre2/src/RawImp.c b/rxtx-2.2pre2/src/RawImp.c
13 --- a/rxtx-2.2pre2/src/RawImp.c 2007-11-19 00:32:42.000000000 +0200
14 +++ b/rxtx-2.2pre2/src/RawImp.c 2010-04-25 16:00:59.000000000 +0300
16 # include <linux/types.h> /* fix for linux-2.3.4? kernels */
17 # include <linux/serial.h>
18 # include <linux/version.h>
19 +# include <generated/utsrelease.h>
21 #ifndef __APPLE__ /* dima */
23 diff -ur a/rxtx-2.2pre2/src/RS485Imp.c b/rxtx-2.2pre2/src/RS485Imp.c
24 --- a/rxtx-2.2pre2/src/RS485Imp.c 2007-04-26 08:26:05.000000000 +0300
25 +++ b/rxtx-2.2pre2/src/RS485Imp.c 2010-04-25 16:01:16.000000000 +0300
27 # include <linux/types.h> /* fix for linux-2.3.4? kernels */
28 # include <linux/serial.h>
29 # include <linux/version.h>
30 +# include <generated/utsrelease.h>