From f4623c86fdf126bd73ca531f74e96c07667e5125 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 109349d7..b0b3860c 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"