You should include -include_lib("amqp_client/include/amqp_client.hrl"). instead of this framing file. The amqp_client will in turn include this one