diff options
author | Elliott Hughes <enh@google.com> | 2014-12-29 11:14:38 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-29 11:14:38 -0800 |
commit | 64d8382394802fc99e248810aedac57057ddd786 (patch) | |
tree | db66c9fb8d448e899c44e8fb65f52c1091c135d0 /libc/include/fcntl.h | |
parent | a9c940a69a5ad01a92620594d41e462c5d46186e (diff) | |
download | android_bionic-64d8382394802fc99e248810aedac57057ddd786.tar.gz android_bionic-64d8382394802fc99e248810aedac57057ddd786.tar.bz2 android_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
Diffstat (limited to 'libc/include/fcntl.h')
-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 108978807..b18ab1216 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -33,6 +33,7 @@ #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 */ |