summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport/backport-include/linux/string.h')
-rw-r--r--backport/backport-include/linux/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/backport-include/linux/string.h b/backport/backport-include/linux/string.h
index 4b35eb9f..2bfdf747 100644
--- a/backport/backport-include/linux/string.h
+++ b/backport/backport-include/linux/string.h
@@ -33,4 +33,8 @@ ssize_t strscpy(char *dest, const char *src, size_t count);
char *strreplace(char *s, char old, char new);
#endif
+#if LINUX_VERSION_IS_LESS(4,6,0)
+int match_string(const char * const *array, size_t n, const char *string);
+#endif /* LINUX_VERSION_IS_LESS(4,5,0) */
+
#endif /* __BACKPORT_LINUX_STRING_H */