branch | stable-1.5 |
changeset 2378 | ca345abf0565 |
parent 2250 | db932582b674 |
--- a/master/ethernet.h Tue Apr 10 19:09:51 2012 +0200 +++ b/master/ethernet.h Tue Apr 10 19:10:56 2012 +0200 @@ -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"