[x265] [PATCH] threading: Include fcntl.h on POSIX systems
Derek Buitenhuis
derek.buitenhuis at gmail.com
Thu Sep 12 17:56:06 CEST 2013
# 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.
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>
More information about the x265-devel
mailing list