# HG changeset patch # User Florian Pose # Date 1326188616 -3600 # Node ID db932582b6742d8b25d6a13afada93a9f571209f # Parent fc891656a9fe7dea421ffb322ab2559a69dcfcca Fixed semaphore header for kernels < 2.6.27. diff -r fc891656a9fe -r db932582b674 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"