Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.

Needed to build strace at their tip of tree.

Change-Id: I64db00a332088e08e25bc30357293a9308b8a226
This commit is contained in:
Elliott Hughes 2014-02-26 11:10:32 -08:00
parent 27c7dbeee6
commit 3434727b3e

View File

@ -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);