Re: [libvirt] [PATCH] fix MinGW compilation(200808)

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

 



Hi, Jim

Thank you for commenting this.
I am wondered how to replace inet_aton.
Your suggestion is very helpful.

Thanks
Atsushi SAKAI

Jim Meyering <jim@xxxxxxxxxxxx> wrote:

> Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx> wrote:
> ...
> > network_conf.c:290: warning: implicit declaration of function `inet_aton'
> > network_conf.c:290: warning: nested extern declaration of `inet_aton'
> 
> We can/should use inet_pton instead.  Then, not only do we use what seems
> to be the preferred interface, but there is a gnulib module by the same
> name that can come into play if it too is missing.
> 
> > network_conf.c:598: error: `S_IRUSR' undeclared (first use in this function)
> 
> The remaining problems should be easy to resolve:
> Add this line to network_conf.c:
> 
> #include <sys/stat.h>
> 
> > network_conf.c:598: error: (Each undeclared identifier is reported only once
> > network_conf.c:598: error: for each function it appears in.)
> > network_conf.c:598: error: `S_IWUSR' undeclared (first use in this function)


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]