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