telephony/libs/dahdi-linux/patches/001-include-slab-h-in-oct612x-user-c.patch
Daniel Golle 1efef5fee5 dahdi-linux: fix oct612x compile on some ARM targets
Unbreak dahdi-linux build at least for cns3xxx, kirkwood, mvebu and oxnas
by explicitely including slab.h in oct612x-user.c.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-01-08 03:24:22 +01:00

12 lines
392 B
Diff

Index: dahdi-linux-2.10.0.1/drivers/dahdi/oct612x/oct612x-user.c
===================================================================
--- dahdi-linux-2.10.0.1.orig/drivers/dahdi/oct612x/oct612x-user.c
+++ dahdi-linux-2.10.0.1/drivers/dahdi/oct612x/oct612x-user.c
@@ -22,6 +22,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/slab.h>
#include <dahdi/kernel.h>