summaryrefslogtreecommitdiffstats
path: root/src/tests/channelmap-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/channelmap-test.c')
-rw-r--r--src/tests/channelmap-test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/channelmap-test.c b/src/tests/channelmap-test.c
index 9c234602..6cf58fb0 100644
--- a/src/tests/channelmap-test.c
+++ b/src/tests/channelmap-test.c
@@ -1,10 +1,14 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <pulse/channelmap.h>
#include <pulse/gccmacro.h>
-int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
+int main(int argc, char *argv[]) {
char cm[PA_CHANNEL_MAP_SNPRINT_MAX];
pa_channel_map map, map2;