|
From: Willy S. <sag...@us...> - 2002-04-11 10:30:38
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- l2cap_sec.c 1.4 1.5=20=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_sec.c 13 Feb 2002 14:05:04 -0000 1.4 +++ l2cap_sec.c 11 Apr 2002 10:19:03 -0000 1.5 @@ -45,7 +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_sec.h> #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/sec_client.h> |