[x265] [PATCH] threading: Include fcntl.h on POSIX systems

Steve Borho steve at borho.org
Thu Sep 12 23:44:31 CEST 2013


On Thu, Sep 12, 2013 at 10:56 AM, Derek Buitenhuis <
derek.buitenhuis at gmail.com> wrote:

> # HG changeset patch
> # User Derek Buitenhuis <derek.buitenhuis at gmail.com>
> # Date 1379000969 -3600
> # Node ID 17d41a7563aaa090b47377dac317437d7733844a
> # Parent  8fdafe573ef7bc2f9ca3eab968f5a563aa06ac54
> threading: Include fcntl.h on POSIX systems
>
> This is where O_CREAT and O_EXCL are defined.
>

Thanks, queued.  This built fine on Mac OS X 10.8.  I'm kind of curious why.


>
> diff -r 8fdafe573ef7 -r 17d41a7563aa source/common/threading.h
> --- a/source/common/threading.h Wed Sep 11 12:19:17 2013 -0500
> +++ b/source/common/threading.h Thu Sep 12 16:49:29 2013 +0100
> @@ -34,6 +34,7 @@
>  #include <cstdlib>
>  #include <stdio.h>
>  #include <errno.h>
> +#include <fcntl.h>
>  #endif
>  #include <stdint.h>
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130912/cb532e84/attachment.html>


More information about the x265-devel mailing list