pg_amqp
pg_amqp copied to clipboard
int32_t not defined under FreeBSD
Need a check against *BSD in Makefile to set a define. These header #include <sys/types.h>
need to be loaded in src/librabbitmq/amqp.h
, but i dont know how to make these changes in Makefile at the moment.
https://github.com/Scr34m/pg_amqp/commit/89ccad2aedee0ef03d7226674cca505e3a813979
Appears that newer versions of the librabbitmq library may address this (and probably many other shortcomings). It's been quite a while since these library files were touched, so doubt it's just a drop-in replacement. If anyone else has time to test updating these libraries, that'd be great. Otherwise, it's on the todo list, but no ETA.
https://github.com/alanxz/rabbitmq-c
I've created a 0.5.0_dev branch that incorporates the latest version of the librabbitmq library. I believe that may fix this issue if someone has a system the evaluate this on.