author | mickeyl <mickeyl> | 2005-05-03 14:06:40 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-03 14:06:40 (UTC) |
commit | a0da10e78110fe3b291f4d2d3956bf6003ca2d2a (patch) (side-by-side diff) | |
tree | 8b902cdc88d4c196971c7a925aa3e7dfc2215c54 | |
parent | 8dc5378786b26d847e4771129760ccb76f04c40f (diff) | |
download | opie-a0da10e78110fe3b291f4d2d3956bf6003ca2d2a.zip opie-a0da10e78110fe3b291f4d2d3956bf6003ca2d2a.tar.gz opie-a0da10e78110fe3b291f4d2d3956bf6003ca2d2a.tar.bz2 |
GET_LINK_QUALITY_RP_SIZE has been renamed to READ_LINK_QUALITY_RP_SIZE in newer versions of bluez
-rw-r--r-- | noncore/settings/networksettings2/opietooth2/OTDriver.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/OTDriver.cpp b/noncore/settings/networksettings2/opietooth2/OTDriver.cpp index cfd0491..dbc9b97 100644 --- a/noncore/settings/networksettings2/opietooth2/OTDriver.cpp +++ b/noncore/settings/networksettings2/opietooth2/OTDriver.cpp @@ -4,25 +4,27 @@ * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #include <opie2/odebug.h> #include <qtimer.h> #include <sys/poll.h> #include <bluezlib.h> - +#ifndef GET_LINK_QUALITY_RP_SIZE +#define GET_LINK_QUALITY_RP_SIZE READ_LINK_QUALITY_RP_SIZE +#endif #include <OTGateway.h> #include <OTDriver.h> #include <OTHCISocket.h> using namespace Opietooth2; static struct { const char *str; unsigned short rev; } csr_map[] = { { "HCI 11.2 (bc01b)", 114 }, { "HCI 11.3 (bc01b)", 115 }, |