From 3434727b3ece18d90894c3f8d9ffd000a00c9c50 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 26 Feb 2014 11:10:32 -0800 Subject: [PATCH] Ensure that has the SYNC_FILE_RANGE_* constants. Needed to build strace at their tip of tree. Change-Id: I64db00a332088e08e25bc30357293a9308b8a226 --- libc/include/fcntl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index e37e0a77b..779a089f0 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -41,6 +41,10 @@ __BEGIN_DECLS #define O_ASYNC FASYNC #endif +#define SYNC_FILE_RANGE_WAIT_BEFORE 1 +#define SYNC_FILE_RANGE_WRITE 2 +#define SYNC_FILE_RANGE_WAIT_AFTER 4 + extern int creat(const char*, mode_t); extern int creat64(const char*, mode_t); extern int fallocate64(int, int, off64_t, off64_t);