diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index b476d84feda78992cd3f71983b3110aee3872fd9..683c95731150c3ec913c19863dbf0c79680bf699 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -166,6 +166,7 @@ char *get_line(char **stringp) if (!orig || *orig == '\0') return NULL; + /* don't use strsep here, it is not available everywhere */ next = strchr(orig, '\n'); if (next) *next++ = '\0';