On 15 August 2012 14:56, Kevin Wolf <kw...@redhat.com> wrote:
> From: Corey Bryant <cor...@linux.vnet.ibm.com>
> +    /* Set/unset flags that we can with fcntl */
> +    setfl_flags = O_APPEND | O_ASYNC | O_DIRECT | O_NOATIME | O_NONBLOCK;
> +    dup_flags &= ~setfl_flags;
> +    dup_flags |= (flags & setfl_flags);
> +    if (fcntl(ret, F_SETFL, dup_flags) == -1) {
> +        goto fail;
> +    }

Looks like this patch caused a buildbot failure on OpenBSD:
  CC    osdep.o
osdep.c: In function 'qemu_dup_flags':
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)
gmake: *** [osdep.o] Error 1

-- PMM

Reply via email to