From aef4a1296b340775201e37969f212a4213aca900 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 30 May 2012 00:39:38 +0200 Subject: [PATCH] compat-wireless: add linux/compat.h header For some older kernel versions we have to include linux/compat.h in some bluetooth code, otherwise it will not find functions like compat_ptr(). Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- patches/06-header-changes.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch index 92ed02d36cf0..db844684c6a7 100644 --- a/patches/06-header-changes.patch +++ b/patches/06-header-changes.patch @@ -75,3 +75,33 @@ cases. /** * DOC: Key handling basics +--- a/net/bluetooth/bnep/sock.c ++++ b/net/bluetooth/bnep/sock.c +@@ -26,6 +26,7 @@ + + #include + #include ++#include + + #include "bnep.h" + +--- a/net/bluetooth/hci_sock.c ++++ b/net/bluetooth/hci_sock.c +@@ -25,6 +25,7 @@ + /* Bluetooth HCI sockets. */ + + #include ++#include + #include + + #include +--- a/net/bluetooth/hidp/sock.c ++++ b/net/bluetooth/hidp/sock.c +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include "hidp.h" + -- 2.30.2