[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] [SPAM] problem with headers: slab.h/malloc.h


many OpenBT driver files contain the following code snippet:

#define __NO_VERSION__ /* don't define kernel_version in module.h */

#ifdef __KERNEL__
#include <linux/bluetooth/sysdep-2.1.h>
#if LINUX_VERSION_CODE >= 0x20200
#include <linux/slab.h>
#include <linux/malloc.h>

Well, on my 2.4.18 system, malloc.h will still be included, because the LINUX_VERSION_CODE test
does not really work. I think the problem is the __NO_VERSION__ definition.

Can anybody fix this ?


To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com