diff options
author | Elliott Hughes | 2014-12-29 13:14:38 -0600 |
---|---|---|
committer | Elliott Hughes | 2014-12-29 13:14:38 -0600 |
commit | 64d8382394802fc99e248810aedac57057ddd786 (patch) | |
tree | db66c9fb8d448e899c44e8fb65f52c1091c135d0 | |
parent | a9c940a69a5ad01a92620594d41e462c5d46186e (diff) | |
download | platform-bionic-64d8382394802fc99e248810aedac57057ddd786.tar.gz platform-bionic-64d8382394802fc99e248810aedac57057ddd786.tar.xz platform-bionic-64d8382394802fc99e248810aedac57057ddd786.zip |
Ensure <fcntl.h> defines the S_* constants from <sys/stat.h>.
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
-rw-r--r-- | libc/include/fcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index 10897880..b18ab121 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <sys/types.h> | 33 | #include <sys/types.h> |
34 | #include <linux/fadvise.h> | 34 | #include <linux/fadvise.h> |
35 | #include <linux/fcntl.h> | 35 | #include <linux/fcntl.h> |
36 | #include <linux/stat.h> | ||
36 | #include <linux/uio.h> | 37 | #include <linux/uio.h> |
37 | #include <unistd.h> /* this is not required, but makes client code much happier */ | 38 | #include <unistd.h> /* this is not required, but makes client code much happier */ |
38 | 39 | ||