summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-04-22 11:10:33 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-04-22 11:10:33 +0000
commit7216d941e1acd1ec8533f95042acc26a00654af3 (patch)
tree3cbca1096243a7a016b2c9d93572ae5c55d21e45
parent93f3e030648d956baa7aed8d9ad080a5b39010d9 (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.2@8552 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi_dummy.c1
-rw-r--r--drivers/dahdi/dahdi_echocan_jpah.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi_dummy.c b/drivers/dahdi/dahdi_dummy.c
index 66f6317..3d4ddf2 100644
--- a/drivers/dahdi/dahdi_dummy.c
+++ b/drivers/dahdi/dahdi_dummy.c
@@ -44,6 +44,7 @@
#endif
#include <linux/kernel.h>
+#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/init.h>
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>