]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
osdep: Fix compilation failure on BSD systems
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Aug 2012 11:15:18 +0000 (12:15 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Aug 2012 18:41:16 +0000 (13:41 -0500)
commitd973ba18ced6e9440131c55b0f07e97bdbbc6703
treef7186199b2f26c4ac3fabb33752cef47c2f4a37c
parent7d76ad4fa4405bb20c35fd24c3c848d2bc48f694
osdep: Fix compilation failure on BSD systems

Fix compilation failure on BSD systems (which don't have
O_DIRECT or O_NOATIME:
osdep.c:116: error: ‘O_DIRECT’ undeclared (first use in this function)
osdep.c:116: error: (Each undeclared identifier is reported only once
osdep.c:116: error: for each function it appears in.)
osdep.c:116: error: ‘O_NOATIME’ undeclared (first use in this function)

Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
osdep.c