|
From: Willy S. <sag...@us...> - 2002-04-11 10:30:37
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- rfcomm.c 1.132 1.133=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): --- rfcomm.c 25 Feb 2002 14:28:19 -0000 1.132 +++ rfcomm.c 11 Apr 2002 10:19:50 -0000 1.133 @@ -47,7 +47,11 @@ #ifdef __KERNEL__=20 #include <linux/config.h> #include <linux/bluetooth/sysdep-2.1.h> +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/types.h> #include <linux/string.h> #include <linux/sched.h> |