summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-04-22 11:03:07 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-04-22 11:03:07 +0000
commitd5fad9ab6b88b10a33eced56dd604fce165ac466 (patch)
treeb1b59b21e0c2e99ae0625626a84cb18469b9307f
parenta74488c04864b0863b3b81c62474e07eec8d3578 (diff)
missing #include: fixes building with 2.6.34-rc5
With kernel 2.6.34-rc5 an explicit '#include <slab.h>' is required for using kzalloc() and friends. Merged revisions 8550 via svnmerge from http://svn.digium.com/svn/dahdi/linux/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.3@8551 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi_echocan_jpah.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi_echocan_jpah.c b/drivers/dahdi/dahdi_echocan_jpah.c
index 05bd2fd..7bd41d7 100644
--- a/drivers/dahdi/dahdi_echocan_jpah.c
+++ b/drivers/dahdi/dahdi_echocan_jpah.c
@@ -27,6 +27,7 @@
*/
#include <linux/kernel.h>
+#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/init.h>