|
From: Willy S. <sag...@us...> - 2002-04-11 10:30:51
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- l2cap_con.c 1.12 1.13=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- l2cap_con.c 22 Nov 2001 14:04:00 -0000 1.12 +++ l2cap_con.c 11 Apr 2002 10:18:19 -0000 1.13 @@ -45,8 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/l2cap_con.h> #include <linux/bluetooth/l2cap_internal.h> |