Fixed semaphore header for kernels < 2.6.27.

This commit is contained in:
Florian Pose 2012-01-10 10:43:36 +01:00
parent 94a4f01ba5
commit f4623c86fd
1 changed files with 5 additions and 0 deletions

View File

@ -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"