From e9faa44b6a457d1d2eab82cce9962e58ee5bdba7 Mon Sep 17 00:00:00 2001 From: "Dr. Michael Lauer" Date: Sat, 18 Feb 2017 17:29:39 +0100 Subject: [PATCH] linux: add non-posix fcntl constants Fixes bugs 729804 and 729805 https://bugzilla.gnome.org/show_bug.cgi?id=729804 https://bugzilla.gnome.org/show_bug.cgi?id=729805 --- vapi/linux.vapi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vapi/linux.vapi b/vapi/linux.vapi index a2a504d71..3c4c7381f 100644 --- a/vapi/linux.vapi +++ b/vapi/linux.vapi @@ -832,6 +832,16 @@ namespace Linux { } } + // Non-Posix file control constants, -D _GNU_SOURCE + [CCode (cheader_filename = "fcntl.h")] + public const int O_DIRECT; + [CCode (cheader_filename = "fcntl.h")] + public const int O_NOATIME; + [CCode (cheader_filename = "fcntl.h")] + public const int O_PATH; + [CCode (cheader_filename = "fcntl.h")] + public const int O_TMPFILE; + /* * Gsm */ -- 2.47.3