# HG changeset patch # User Florian Pose # Date 1326188616 -3600 # Node ID 80c03df98a491691d8967c5371dd7fa5e521c4ce # Parent 3f2a4f9ff7867f54f9ba7a9f9688d2aae24e6968 Fixed semaphore header for kernels < 2.6.27. diff -r 3f2a4f9ff786 -r 80c03df98a49 master/ethernet.h --- 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 #include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) #include +#else +#include +#endif #include "globals.h" #include "slave.h"