diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-04-22 10:39:03 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-04-22 10:39:03 +0000 |
commit | 9f13252633b6b25caabe3b33e0afb4db0a171f78 (patch) | |
tree | b1b59b21e0c2e99ae0625626a84cb18469b9307f /drivers/dahdi/dahdi_echocan_jpah.c | |
parent | 4c8b9fbf40df63747445ef3694daea3b62cd432b (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.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8550 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_echocan_jpah.c')
-rw-r--r-- | drivers/dahdi/dahdi_echocan_jpah.c | 1 |
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> |