# HG changeset patch # User Florian Pose # Date 1326188616 -3600 # Node ID 5be97f6cc76a854c90a89b1204683c49114c396e # Parent 6dbd7594dd1d9f30ca73accba3a57ca9387569d3 Fixed semaphore header for kernels < 2.6.27. diff -r 6dbd7594dd1d -r 5be97f6cc76a 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"