Signed-off-by: Arnaud Lacombe <lacombar@xxxxxxxxx> --- include/linux/compat-2.6.25.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/linux/compat-2.6.25.h b/include/linux/compat-2.6.25.h index ad3220a..641fbde 100644 --- a/include/linux/compat-2.6.25.h +++ b/include/linux/compat-2.6.25.h @@ -8,8 +8,10 @@ #include <linux/types.h> #include <linux/io.h> -#include <linux/hw_random.h> #include <linux/leds.h> +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)) +#include <linux/hw_random.h> +#endif #include <linux/kernel.h> #include <linux/netdevice.h> #include <linux/pm.h> -- 1.7.2.30.gc37d7.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html