Re: [Qemu-devel] [PATCH] qemu-common: Add definition for O_NONBLOCK

2012-11-18 Thread Stefan Weil
Am 18.11.2012 09:55, schrieb Paolo Bonzini: Il 17/11/2012 17:40, Stefan Weil ha scritto: backends/rng-random.c which was added by commit 5c74521d249486fa3e749dbbf6d56a70d4d7235f needs macro O_NONBLOCK. The macro O_NONBLOCK is not defined for all hosts. Adding a default definition fixes builds f

Re: [Qemu-devel] [PATCH] qemu-common: Add definition for O_NONBLOCK

2012-11-18 Thread Paolo Bonzini
Il 17/11/2012 17:40, Stefan Weil ha scritto: > backends/rng-random.c which was added by commit > 5c74521d249486fa3e749dbbf6d56a70d4d7235f needs > macro O_NONBLOCK. > > The macro O_NONBLOCK is not defined for all hosts. > Adding a default definition fixes builds for MinGW. > > Signed-off-by: Stefa

[Qemu-devel] [PATCH] qemu-common: Add definition for O_NONBLOCK

2012-11-17 Thread Stefan Weil
backends/rng-random.c which was added by commit 5c74521d249486fa3e749dbbf6d56a70d4d7235f needs macro O_NONBLOCK. The macro O_NONBLOCK is not defined for all hosts. Adding a default definition fixes builds for MinGW. Signed-off-by: Stefan Weil --- This is a build fix. Therefore I'd appreciate if