Clang16 will not allow implicit function declarations by default. This patch overhauls the source to make it build with clang16 defaults. This patch was sent upstream via mail. Bug: https://bugs.gentoo.org/874012 # Pascal Jäger (2022-11-23) --- a/http.c +++ b/http.c @@ -2,6 +2,7 @@ #include +#include #include #include #include --- a/util.c +++ b/util.c @@ -33,8 +33,11 @@ #include #include #include -#include "url.h" +#include "ftp.h" +#include "gopher.h" +#include "http.h" #include "options.h" +#include "url.h" char output_buf[BUFSIZ];