mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-20 09:07:27 +08:00
Fixed semaphore header for kernels < 2.6.27.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user