diff --git a/src/amqp.c b/src/amqp.c
index cf2a448aa3b35e29670e91efc7e05a089cef9fdb..3ba8225ca6bc989955d75ae6602515158576e9ec 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
/* type = */ amqp_cstring_bytes (conf->exchange_type),
/* passive = */ 0,
/* durable = */ 0,
+#if AMQP_VERSION >= 0x00060000
+ /* auto delete = */ 0,
+ /* internal = */ 0,
+#endif
/* arguments = */ argument_table);
if ((ed_ret == NULL) && camqp_is_error (conf))
{