On Fri, Mar 02, 2018 at 08:32:16AM +0200, Baruch Siach wrote: > musl libc defines the optreset BSD extension only in getopt.h. This > fixes the following build failure: > > histedit.c: In function 'histcmd': > histedit.c:220:2: error: 'optreset' undeclared (first use in this function) > optreset = 1; optind = 1; /* initialize getopt */ > ^~~~~~~~ > > Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx> Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html