From f698ec2aa0bdc7ac3b3a38c3239eecc0ed131677 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Tue, 10 Jan 2012 10:43:36 +0100 Subject: [PATCH] Fixed semaphore header for kernels < 2.6.27. --- master/ethernet.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/master/ethernet.h b/master/ethernet.h index f9ffdfd5..7e661d89 100644 --- a/master/ethernet.h +++ b/master/ethernet.h @@ -39,7 +39,12 @@ #include #include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) #include +#else +#include +#endif #include "globals.h" #include "slave.h"