dahdi: build fix for Kernels < 2.6.16
* Fixes building for kernels < 2.6.16 (and some older Centos 4 ones). * Broken by http://svn.asterisk.org/svn/dahdi/linux/trunk@9721 (Jan-2011) Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10460 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
1c6d3ad23c
commit
84b9b4c84a
@ -49,7 +49,9 @@
|
||||
#include <linux/sched.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/delay.h>
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 16)
|
||||
#include <linux/mutex.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_UNLOCKED_IOCTL) && defined(CONFIG_BKL)
|
||||
#include <linux/smp_lock.h>
|
||||
|
Loading…
Reference in New Issue
Block a user