Return-Path: From: Stefan Seyfried To: BlueZ development Cc: Marcel Holtmann , Stefan Seyfried Subject: [PATCH 2/2] Add hack to allow compilation with old bluez lib Date: Sun, 14 Feb 2010 12:33:32 +0100 Message-Id: <1266147212-32461-3-git-send-email-stefan.seyfried@googlemail.com> In-Reply-To: <1266147212-32461-2-git-send-email-stefan.seyfried@googlemail.com> References: <1266147212-32461-1-git-send-email-stefan.seyfried@googlemail.com> <1266147212-32461-2-git-send-email-stefan.seyfried@googlemail.com> List-ID: From: Stefan Seyfried --- parser/hci.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/parser/hci.c b/parser/hci.c index e4fc473..33c3640 100644 --- a/parser/hci.c +++ b/parser/hci.c @@ -41,6 +41,12 @@ #include #include +/* ugly hack, as hci.h changed incompatibly with bluez 4.61 */ +#ifndef OCF_READ_INQ_RESPONSE_TX_POWER_LEVEL +#define OCF_READ_INQ_RESPONSE_TX_POWER_LEVEL OCF_READ_INQUIRY_TRANSMIT_POWER_LEVEL +#define read_inq_response_tx_power_level_rp read_inquiry_transmit_power_level_rp +#endif + #include "parser.h" static uint16_t manufacturer = DEFAULT_COMPID; -- 1.6.6.1