diff --git a/src/conf.c b/src/conf.c
index 50d04034..46bc1fb8 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -416,6 +416,7 @@ beginning:
#include "local.h"
#include
+#include
#include
#include
#include
@@ -443,7 +444,7 @@ struct _snd_config {
const void *ptr;
struct {
struct list_head fields;
- int join;
+ bool join;
} compound;
} u;
struct list_head list;
@@ -1393,7 +1394,7 @@ static int parse_def(snd_config_t *parent, input_t *input, int skip, int overrid
SNDERR("%s is not a compound", id);
return -EINVAL;
}
- n->u.compound.join = 1;
+ n->u.compound.join = true;
parent = n;
free(id);
continue;
@@ -1408,7 +1409,7 @@ static int parse_def(snd_config_t *parent, input_t *input, int skip, int overrid
err = _snd_config_make_add(&n, &id, SND_CONFIG_TYPE_COMPOUND, parent);
if (err < 0)
goto __end;
- n->u.compound.join = 1;
+ n->u.compound.join = true;
parent = n;
}
if (c == '=') {