summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-05-23 12:24:16 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-05-23 12:24:16 +0000
commitc97440b9249f152a17e6df0d29deb61cc0fe1923 (patch)
tree464307537cccd10eb6360440ed15900ce2326ff7
parentd378a469140854edbea81bc744b6041ddcf0074a (diff)
missing #include: fixes building with 2.6.34-rc5svn_2.2
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.2@8678 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi_echocan_oslec.c1
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>