use getopt.h from glibc/musl instead of the outdated bundled copy do the same for fnmatch.h --- a/Makefile.in +++ b/Makefile.in @@ -94,7 +94,7 @@ netrc: lib/netrc.c HEADERS = src/common.h src/frontend.h src/i18n.h src/protocol.h \ src/sites.h src/ftp.h src/lsparser.h src/rcfile.h src/sitesi.h \ - lib/basename.h lib/fnmatch.h lib/getopt.h lib/netrc.h \ + lib/basename.h lib/netrc.h \ config.h src/common.o: src/common.c $(HEADERS)