author | Florian Pose <fp@igh-essen.com> |
Tue, 10 Jan 2012 10:43:36 +0100 | |
branch | redundancy |
changeset 2341 | 80c03df98a49 |
parent 2340 | 3f2a4f9ff786 |
child 2342 | 4033d0d394ec |
master/ethernet.h | file | annotate | diff | comparison | revisions |
--- 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"