bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] inet_ntop() in mswindows.c


From: Tim Rühsen
Subject: Re: [Bug-wget] inet_ntop() in mswindows.c
Date: Mon, 06 Mar 2017 21:34:00 +0100
User-agent: KMail/5.2.3 (Linux/4.9.0-2-amd64; KDE/5.28.0; x86_64; ; )

On Montag, 6. März 2017 21:08:19 CET Gisle Vanem wrote:
> Tim Rühsen wrote:
> > inet_ntop should be covered by gnulib, also for mswindows. What about
> > removing inet_ntop from mswindows.c ? Does it compile and work ?
> 
> No:
>   host.obj : error LNK2019: unresolved external symbol _inet_ntop referenced
> in function _cache_store main.obj : error LNK2019: unresolved external
> symbol _inet_pton referenced in function _main
> 
> (these should probably be 'rpl_inet_*' for compatibility with older
> Windows?)
> 
> A missing '#include <arpa/inet.h>' for Win32 somewhere.
> Where is the best place to put it?

In src/hosts.c put it after
#include <string.h>

And also remove the
# ifndef __BEOS__
...
part.

I guess we should do some more cleanups there.

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]