From 1efef5fee5db4104e389d0c61de536ebd45c2221 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 8 Jan 2015 03:24:22 +0100 Subject: [PATCH] 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 --- .../001-include-slab-h-in-oct612x-user-c.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libs/dahdi-linux/patches/001-include-slab-h-in-oct612x-user-c.patch diff --git a/libs/dahdi-linux/patches/001-include-slab-h-in-oct612x-user-c.patch b/libs/dahdi-linux/patches/001-include-slab-h-in-oct612x-user-c.patch new file mode 100644 index 0000000..ad79a00 --- /dev/null +++ b/libs/dahdi-linux/patches/001-include-slab-h-in-oct612x-user-c.patch @@ -0,0 +1,12 @@ +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 + #include ++#include + + #include +