Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 1 | From 0b1766514f6847c7367fce07f19a750ec74c11a6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Thu, 26 Sep 2019 16:19:34 +0800 |
| 4 | Subject: [PATCH] tools/btpclient.c: include signal.h |
| 5 | |
| 6 | Fix compile failure when configure --enable-btpclient: |
| 7 | btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function) |
| 8 | |
| 9 | Upstream-Status: Backport [A subset of the full fix that went upstream] |
| 10 | |
| 11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 12 | --- |
| 13 | tools/btpclient.c | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/tools/btpclient.c b/tools/btpclient.c |
| 17 | index b217df5..aece7fe 100644 |
| 18 | --- a/tools/btpclient.c |
| 19 | +++ b/tools/btpclient.c |
| 20 | @@ -29,6 +29,7 @@ |
| 21 | #include <stdlib.h> |
| 22 | #include <assert.h> |
| 23 | #include <getopt.h> |
| 24 | +#include <signal.h> |
| 25 | |
| 26 | #include <ell/ell.h> |
| 27 | |
| 28 | -- |
| 29 | 2.7.4 |
| 30 | |