Fixed semaphore header for kernels < 2.6.27.
This commit is contained in:
parent
94a4f01ba5
commit
f4623c86fd
|
|
@ -39,7 +39,12 @@
|
|||
|
||||
#include <linux/list.h>
|
||||
#include <linux/netdevice.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
|
||||
#include <linux/semaphore.h>
|
||||
#else
|
||||
#include <asm/semaphore.h>
|
||||
#endif
|
||||
|
||||
#include "globals.h"
|
||||
#include "slave.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue