branch | stable-1.5 |
changeset 2250 | db932582b674 |
parent 1974 | a5a44aa5915d |
--- a/master/ethernet.h Tue Jan 10 10:11:20 2012 +0100 +++ b/master/ethernet.h Tue Jan 10 10:43:36 2012 +0100 @@ -39,7 +39,12 @@ #include <linux/list.h> #include <linux/netdevice.h> + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) #include <linux/semaphore.h> +#else +#include <asm/semaphore.h> +#endif #include "globals.h" #include "slave.h"