From 121061dcdfdf5ef1d78cd2ae84b39b779a568e28 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 22 Feb 2004 11:56:01 +0000 Subject: [PATCH] O_DIRECT compile fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@633 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 52e1c6b533..9ac95729f5 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1144,7 +1144,9 @@ static bitmask_transtbl fcntl_flags_tbl[] = { { TARGET_O_DIRECTORY, TARGET_O_DIRECTORY, O_DIRECTORY, O_DIRECTORY, }, { TARGET_O_NOFOLLOW, TARGET_O_NOFOLLOW, O_NOFOLLOW, O_NOFOLLOW, }, { TARGET_O_LARGEFILE, TARGET_O_LARGEFILE, O_LARGEFILE, O_LARGEFILE, }, +#if defined(O_DIRECT) { TARGET_O_DIRECT, TARGET_O_DIRECT, O_DIRECT, O_DIRECT, }, +#endif { 0, 0, 0, 0 } };