#### Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING guide - [x] Commits are split per component (core, individual modules, libs, utils, ...) - [x] Each component has a single commit (if not, squash them into one commit) - [x] No commits to README files for modules (changes must be done to docbook files in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change - [x] Small bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds new functionality) - [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist: - [x] PR should be backported to stable branches - [x] Tested changes locally - [x] Related to issue #3464
#### Description fixed rabbitmq-c deprecation warning You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3465
-- Commit Summary --
* kazoo: fixed rabbitmq-c deprecation warning * rabbitmq: fixed rabbitmq-c deprecation warning
-- File Changes --
M src/modules/kazoo/Makefile (4) M src/modules/kazoo/kz_amqp.c (9) M src/modules/kazoo/kz_amqp.h (5) M src/modules/rabbitmq/Makefile (4) M src/modules/rabbitmq/rabbitmq.c (7) M src/modules/rabbitmq/utils.c (6)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3465.patch https://github.com/kamailio/kamailio/pull/3465.diff
The fix looks a bit platform dependent, because not always the header files are in`/usr/include`.
Maybe you can leverage `pkg-config --modversion librabbitmq` or `pkg-config --atleast-version=...`?
Closing for now and will reopen when requested changes will be ready.
Closed #3465.