diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-05-23 12:56:12 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-05-23 12:56:12 +0000 |
commit | 50424f27e7d830d3713579281e05eaec11127dcd (patch) | |
tree | 999a174a2161311b89f8a36fd64bf5129cd888ce | |
parent | 1390de3f80c2601ab232ff02d4a1d35927c7e607 (diff) |
missing #include: fixes building with 2.6.34-rc5
Fix the same issue as in r8550 , for dahdi_echocan_oslec.c:
With kernel 2.6.34-rc5 an explicit '#include <slab.h>' is required for using
kzalloc() and friends.
Merged revisions 8674 via svnmerge from
http://svn.digium.com/svn/dahdi/linux/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.3@8679 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/dahdi_echocan_oslec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi_echocan_oslec.c b/drivers/dahdi/dahdi_echocan_oslec.c index a8d38b9..abbeb51 100644 --- a/drivers/dahdi/dahdi_echocan_oslec.c +++ b/drivers/dahdi/dahdi_echocan_oslec.c @@ -23,6 +23,7 @@ */ #include <linux/kernel.h> +#include <linux/slab.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/init.h> |