summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a9c940a)
raw | patch | inline | side by side (parent: a9c940a)
author | Elliott Hughes <enh@google.com> | |
Mon, 29 Dec 2014 19:14:38 +0000 (11:14 -0800) | ||
committer | Elliott Hughes <enh@google.com> | |
Mon, 29 Dec 2014 19:14:38 +0000 (11:14 -0800) |
POSIX says "The <fcntl.h> header shall define the symbolic constants for file
modes for use as values of mode_t as described in <sys/stat.h>".
Needed to build ToT strace.
Change-Id: Ia85a51ef6fd86a48084fe48ce24963000a937d37
modes for use as values of mode_t as described in <sys/stat.h>".
Needed to build ToT strace.
Change-Id: Ia85a51ef6fd86a48084fe48ce24963000a937d37
libc/include/fcntl.h | patch | blob | history |
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h
index 1089788078b14d48feb100ade8d805641b9beb30..b18ab1216a4ed1a978997dba04ac7a1de30d4181 100644 (file)
--- a/libc/include/fcntl.h
+++ b/libc/include/fcntl.h
#include <sys/types.h>
#include <linux/fadvise.h>
#include <linux/fcntl.h>
+#include <linux/stat.h>
#include <linux/uio.h>
#include <unistd.h> /* this is not required, but makes client code much happier */