summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/strv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h
index 13a4bb6cf1..618951c5e3 100644
--- a/src/shared/strv.h
+++ b/src/shared/strv.h
@@ -116,3 +116,5 @@ void strv_print(char **l);
} \
_l; \
})
+
+#define STR_IN_SET(x, ...) strv_contains(STRV_MAKE(__VA_ARGS__), x)