On Wed, Mar 13, 2024 at 12:48:27PM +0100, Lucas Nussbaum wrote:
> > chm_http.c:167:32: error: implicit declaration of function ‘inet_addr’ 
> > [-Werror=implicit-function-declaration]
> > chm_http.c:179:9: error: implicit declaration of function ‘close’; did you 
> > mean ‘pclose’? [-Werror=implicit-function-declaration]
These are fixed by including <unistd.h> and <arpa/inet.h> but then there
is an undefined pread64() in chm_lib.c, not sure what is the correct way
to fix that. Gentoo fixed that by adding #define _LARGEFILE64_SOURCE to
the file, but I hesitate to do that as I don't understand the implications
of doing that on different architectures.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to