Code

Merge branch 'collectd-5.3' into collectd-5.4
[collectd.git] / src / amqp.c
index ab920a6a6dbe24ab8fa5c3599c9a284fc92c7a4c..30f6f42703b58ae3e7a642bd474eb5d6415eef26 100644 (file)
@@ -299,6 +299,10 @@ static int camqp_create_exchange (camqp_config_t *conf) /* {{{ */
             /* type        = */ amqp_cstring_bytes (conf->exchange_type),
             /* passive     = */ 0,
             /* durable     = */ 0,
+#if defined(AMQP_VERSION) && AMQP_VERSION >= 0x00060000
+            /* auto delete = */ 0,
+            /* internal    = */ 0,
+#endif
             /* arguments   = */ argument_table);
     if ((ed_ret == NULL) && camqp_is_error (conf))
     {