006e074b5ea557b798eea3c06501973b9d2b48f1
[openwrt/svn-archive/archive.git] / utils / bluez-utils / patches / 100-enokey.patch
1 diff -urN bluez-utils-3.24.orig/input/device.c bluez-utils-3.24/input/device.c
2 --- bluez-utils-3.24/input/device.orig 2007-12-08 20:04:42.000000000 +0100
3 +++ bluez-utils-3.24/input/device.c 2008-01-16 09:20:41.000000000 +0100
4 @@ -25,6 +25,8 @@
5 #include <config.h>
6 #endif
7
8 +#define ENOKEY 161 /* Required key not available */
9 +
10 #include <stdlib.h>
11 #include <errno.h>
12 #include <fcntl.h>
13 diff -urN bluez-utils-3.24.orig/input/storage.c bluez-utils-3.24/input/storage.c
14 --- bluez-utils-3.24/input/storage.orig 2007-10-05 09:17:06.000000000 +0200
15 +++ bluez-utils-3.24/input/storage.c 2008-01-16 09:26:23.000000000 +0100
16 @@ -25,6 +25,8 @@
17 #include <config.h>
18 #endif
19
20 +#define ENOKEY 161 /* Required key not available */
21 +
22 #include <stdio.h>
23 #include <errno.h>
24 #include <ctype.h>