qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server,


From: Thiemo Seufer
Subject: Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier.
Date: Fri, 4 Jul 2008 03:34:51 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

chenqing wrote:
> > +#include <sys/types.h>
> > +#include <unistd.h>
> > +#include <sys/socket.h>
> > +#include <sys/un.h>
> > +#include <netinet/in.h>
> > +#include <arpa/inet.h>
> > +#include <pthread.h>
> 
> Maybe you should wrap these with "#ifndef _WIN32", I get an error on windows:
> 
> nbd.c:24:23: warning: sys/ioctl.h: No such file or directory
> nbd.c:27:24: warning: sys/socket.h: No such file or directory
> nbd.c:28:20: warning: sys/un.h: No such file or directory
> nbd.c:29:24: warning: netinet/in.h: No such file or directory
> nbd.c:30:25: warning: netinet/tcp.h: No such file or directory
> nbd.c:31:23: warning: arpa/inet.h: No such file or directory
> nbd.c:32:19: warning: netdb.h: No such file or directory

Hm, how much of nbd.c works on windows?


Thiemo




reply via email to

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