[Top][All Lists]
[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
- [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier., Thiemo Seufer, 2008/07/03
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier., chenqing, 2008/07/03
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier.,
Thiemo Seufer <=
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier., chenqing, 2008/07/03
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier., Laurent Vivier, 2008/07/04
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier., Thiemo Seufer, 2008/07/04
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier., Johannes Schindelin, 2008/07/04
- [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/04
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Filip Navara, 2008/07/05
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Jamie Lokier, 2008/07/05
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/05
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Jamie Lokier, 2008/07/06
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/06