--- a/src/modules/espeak.c 2022-04-15 04:49:54.448394598 +0000 +++ b/src/modules/espeak.c 2022-04-15 14:59:04.648322417 +0000 @@ -35,7 +35,7 @@ #include #include #include - +#include /* espeak header file */ #ifdef ESPEAK_NG_INCLUDE #include @@ -890,7 +890,7 @@ if (!strncmp(identifier, "mb/mb-", 6)) { voicename = g_strdup(identifier + 6); - dash = index(voicename, '-'); + dash = strchr(voicename, '-'); if (dash) /* Ignore "-en" language specification */ *dash = 0;