You are not logged in.
Pages: 1
I'm not sure why it didn't happen before, but `bluez-5.50-6` wouldn't build cleanly instead complaining about undeclared variables:
tools/btpclient.c: In function 'signal_handler':
tools/btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)
case SIGINT:
^~~~~~
tools/btpclient.c:2834:7: note: each undeclared identifier is reported only once for each function it appears in
tools/btpclient.c:2835:7: error: 'SIGTERM' undeclared (first use in this function)
case SIGTERM:
^~~~~~~
This patch got it building again:
diff --git i/tools/btpclient.c w/tools/btpclient.c
index b217df5..aece7fe 100644
--- i/tools/btpclient.c
+++ w/tools/btpclient.c
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <assert.h>
#include <getopt.h>
+#include <signal.h>
#include <ell/ell.h>
Last edited by jonathon (2019-03-24 12:41:08)
Offline
Pages: 1